]> git.jsancho.org Git - lugaru.git/commitdiff
Object size selector with better keys
authorJavier Sancho <jsf@jsancho.org>
Mon, 19 Feb 2018 12:24:32 +0000 (13:24 +0100)
committerJavier Sancho <jsf@jsancho.org>
Mon, 19 Feb 2018 12:24:32 +0000 (13:24 +0100)
Source/GameTick.cpp

index 4ff18e8b1be9e78e881c231c58c8b421dfcecb0e..1a22117142c4727a5902142b209fefe00f0a8a4b 100644 (file)
@@ -1585,7 +1585,7 @@ void Game::ProcessDevInput()
         }
 
         /* Decrease size for next object */
-        if (Input::isKeyDown(SDL_SCANCODE_DOWN) && !Input::isKeyDown(SDL_SCANCODE_LCTRL)) {
+        if (Input::isKeyDown(SDL_SCANCODE_DOWN) && Input::isKeyDown(SDL_SCANCODE_LSHIFT)) {
             editorsize -= multiplier;
             if (editorsize < .1) {
                 editorsize = .1;
@@ -1593,7 +1593,7 @@ void Game::ProcessDevInput()
         }
 
         /* Increase size for next object */
-        if (Input::isKeyDown(SDL_SCANCODE_UP) && !Input::isKeyDown(SDL_SCANCODE_LCTRL)) {
+        if (Input::isKeyDown(SDL_SCANCODE_UP) && Input::isKeyDown(SDL_SCANCODE_LSHIFT)) {
             editorsize += multiplier;
         }