From d320bd1b418c85ec4b1edf967b50426f0f553322 Mon Sep 17 00:00:00 2001 From: Javier Sancho Date: Mon, 19 Feb 2018 13:24:32 +0100 Subject: [PATCH] Object size selector with better keys --- Source/GameTick.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; } -- 2.39.5