From: Côme Chilliet Date: Sat, 26 Nov 2016 12:56:54 +0000 (+0800) Subject: Removed ctrl+q binding. All OS have their own binding for window closing. X-Git-Url: https://git.jsancho.org/?p=lugaru.git;a=commitdiff_plain;h=94df0906c159318cb39bb4ee063336ba3cf51ccb Removed ctrl+q binding. All OS have their own binding for window closing. --- 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);