From de3b8355fb050391490d7aa18ff913784b03d408 Mon Sep 17 00:00:00 2001 From: Titus Tscharntke Date: Wed, 26 Sep 2012 23:21:49 +0000 Subject: [PATCH] attack is possible in FP-view now --- source/glest_game/game/game.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/glest_game/game/game.cpp b/source/glest_game/game/game.cpp index 574ad5898..939fe7050 100644 --- a/source/glest_game/game/game.cpp +++ b/source/glest_game/game/game.cpp @@ -3439,7 +3439,7 @@ void Game::keyDown(SDL_KeyboardEvent key) { //hotkeys if(SystemFlags::getSystemSettingType(SystemFlags::debugSystem).enabled) SystemFlags::OutputDebug(SystemFlags::debugSystem,"In [%s::%s Line: %d] gameCamera.getState() = %d\n",extractFileFromDirectoryPath(__FILE__).c_str(),__FUNCTION__,__LINE__,gameCamera.getState()); - if(gameCamera.getState() == GameCamera::sGame){ + if(gameCamera.getState() != GameCamera::sFree){ if(SystemFlags::getSystemSettingType(SystemFlags::debugSystem).enabled) SystemFlags::OutputDebug(SystemFlags::debugSystem,"In [%s::%s Line: %d] key = %d\n",extractFileFromDirectoryPath(__FILE__).c_str(),__FUNCTION__,__LINE__,key); gui.hotKey(key);