From: Javier Sancho Date: Mon, 19 Feb 2018 12:24:32 +0000 (+0100) Subject: Object size selector with better keys X-Git-Url: https://git.jsancho.org/?a=commitdiff_plain;h=d320bd1b418c85ec4b1edf967b50426f0f553322;p=lugaru.git Object size selector with better keys --- diff --git a/Source/GameTick.cpp b/Source/GameTick.cpp index 4ff18e8..1a22117 100644 --- a/Source/GameTick.cpp +++ b/Source/GameTick.cpp @@ -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; }