From 53e4546b09d60e9889a6562311ceaf17b44cface Mon Sep 17 00:00:00 2001 From: auria Date: Fri, 17 Dec 2010 18:55:34 +0000 Subject: [PATCH] Fixed debug mode build git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7055 178a84e3-b1eb-0310-8ba1-8eac791a3b58 --- src/input/input_manager.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/input/input_manager.cpp b/src/input/input_manager.cpp index f76ec593a..32fe44f7e 100644 --- a/src/input/input_manager.cpp +++ b/src/input/input_manager.cpp @@ -83,10 +83,10 @@ InputManager::~InputManager() //----------------------------------------------------------------------------- void InputManager::handleStaticAction(int key, int value) { -#ifdef DEBUG + static bool control_is_pressed=false; World *world=World::getWorld(); -#endif + switch (key) { #ifdef DEBUG