From 94df0906c159318cb39bb4ee063336ba3cf51ccb Mon Sep 17 00:00:00 2001 From: =?utf8?q?C=C3=B4me=20Chilliet?= Date: Sat, 26 Nov 2016 20:56:54 +0800 Subject: [PATCH] Removed ctrl+q binding. All OS have their own binding for window closing. --- Source/GameTick.cpp | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/Source/GameTick.cpp b/Source/GameTick.cpp index 11571d6..37a4587 100644 --- a/Source/GameTick.cpp +++ b/Source/GameTick.cpp @@ -5411,13 +5411,6 @@ void MenuTick() } } - if (Input::isKeyDown(SDL_SCANCODE_Q) && Input::isKeyDown(SDL_SCANCODE_LGUI)) { - tryquit = 1; - if (mainmenu == 3) { - SaveSettings(); - } - } - OPENAL_SetFrequency(channels[stream_menutheme], 22050); if (entername) { @@ -5640,15 +5633,6 @@ void Game::Tick() } } - - - if (Input::isKeyDown(SDL_SCANCODE_Q) && Input::isKeyDown(SDL_SCANCODE_LGUI)) { - tryquit = 1; - if (mainmenu == 3) { - SaveSettings(); - } - } - static int oldwinfreeze; if (winfreeze && !oldwinfreeze) { OPENAL_SetFrequency(OPENAL_ALL, 0.001); -- 2.39.5