1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-02-03 04:05:49 +01:00

fixes #337 - shortcut keys on title screen propagating to game

This commit is contained in:
IntelOrca
2014-11-24 17:18:21 +00:00
parent 73a6b1acea
commit 5190862573
4 changed files with 40 additions and 8 deletions

View File

@@ -419,12 +419,6 @@ void osinterface_process_messages()
gKeysPressed[e.key.keysym.scancode] = 1;
if (e.key.keysym.sym == SDLK_RETURN && e.key.keysym.mod & KMOD_ALT)
osinterface_set_fullscreen_mode(!gGeneral_config.fullscreen_mode);
if (e.key.keysym.sym == SDLK_PRINTSCREEN){
RCT2_GLOBAL(RCT2_ADDRESS_SCREENSHOT_COUNTDOWN, sint8) = 1;
//this function is normally called only in-game (in game_update)
//calling it here will save screenshots even while in main menu
screenshot_check();
}
// Text input