]> git.jsancho.org Git - lugaru.git/commitdiff
Removed ctrl+q binding. All OS have their own binding for window closing.
authorCôme Chilliet <come@chilliet.eu>
Sat, 26 Nov 2016 12:56:54 +0000 (20:56 +0800)
committerCôme Chilliet <come@chilliet.eu>
Sat, 26 Nov 2016 12:56:54 +0000 (20:56 +0800)
Source/GameTick.cpp

index 11571d612dea0b756ded2b87078551c8a1cf8626..37a4587937be9b43bb3343c1cd4717cfd5822b34 100644 (file)
@@ -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);