mirror of
https://github.com/glest/glest-source.git
synced 2025-08-29 19:00:07 +02:00
attack is possible in FP-view now
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user