Removed inconsistency on Windows builds where Shift+Q was used as a hard-coded instant quit method.
This commit is contained in:
parent
b28f9a96c8
commit
944d311da6
@ -109,6 +109,7 @@ Bug fixes:
|
||||
role was selected instead). This is fixed and changed so that the 10% chance of
|
||||
random missile role selection happens only when auto_weapons is set in a ship's
|
||||
shipdata.plist entry
|
||||
* Removed inconsistency in Windows build, where Shift+Q was used as instant quit
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
|
||||
|
BIN
Doc/OoliteRS.odt
BIN
Doc/OoliteRS.odt
Binary file not shown.
BIN
Doc/OoliteRS.pdf
BIN
Doc/OoliteRS.pdf
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -637,15 +637,6 @@ static NSTimeInterval time_last_frame;
|
||||
}
|
||||
#endif
|
||||
|
||||
#if OOLITE_WINDOWS
|
||||
if ( !onTextEntryScreen && ([gameView isDown:'Q']) )
|
||||
{
|
||||
exceptionContext = @"windows - Q";
|
||||
[gameController exitAppWithContext:@"Q pressed [Windows]"];
|
||||
exit(0); // Force it
|
||||
}
|
||||
#endif
|
||||
|
||||
// handle pressing Q or [esc] in error-handling mode
|
||||
if ([self status] == STATUS_HANDLING_ERROR)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user