From 67b46fe67c5a0982dbe152af75b8ce13224f1e19 Mon Sep 17 00:00:00 2001 From: auria Date: Wed, 26 Aug 2009 18:12:11 +0000 Subject: [PATCH] Fixed bug I introduced while fixing warnings git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3920 178a84e3-b1eb-0310-8ba1-8eac791a3b58 --- src/input/input_manager.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/input/input_manager.cpp b/src/input/input_manager.cpp index 07c4eb120..058a6095a 100644 --- a/src/input/input_manager.cpp +++ b/src/input/input_manager.cpp @@ -79,7 +79,10 @@ InputManager::~InputManager() void InputManager::handleStaticAction(int key, int value) { - // static bool control_is_pressed=false; +#ifdef DEBUG + static bool control_is_pressed=false; +#endif + switch (key) { #ifdef DEBUG