Removed inconsistency on Windows builds where Shift+Q was used as a hard-coded instant quit method.

This commit is contained in:
AnotherCommander 2016-07-15 17:30:56 +02:00
parent b28f9a96c8
commit 944d311da6
6 changed files with 1 additions and 9 deletions

View File

@ -109,6 +109,7 @@ Bug fixes:
role was selected instead). This is fixed and changed so that the 10% chance of 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 random missile role selection happens only when auto_weapons is set in a ship's
shipdata.plist entry shipdata.plist entry
* Removed inconsistency in Windows build, where Shift+Q was used as instant quit
------------------------------------------------------------------------------- -------------------------------------------------------------------------------

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -637,15 +637,6 @@ static NSTimeInterval time_last_frame;
} }
#endif #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 // handle pressing Q or [esc] in error-handling mode
if ([self status] == STATUS_HANDLING_ERROR) if ([self status] == STATUS_HANDLING_ERROR)
{ {