From 3e0a87549c48247cbabf66345ad09d10146c141f Mon Sep 17 00:00:00 2001 From: Mark Vejvoda Date: Wed, 29 Sep 2010 22:18:08 +0000 Subject: [PATCH] - by special request for ultifd (allow players to zoom out at game end when playing non network games) --- source/glest_game/game/game.cpp | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/source/glest_game/game/game.cpp b/source/glest_game/game/game.cpp index 83130e5f..ee8800a5 100644 --- a/source/glest_game/game/game.cpp +++ b/source/glest_game/game/game.cpp @@ -1656,7 +1656,8 @@ void Game::checkWinnerStandard(){ } } gameOver= true; - if(this->gameSettings.getEnableObserverModeAtEndGame() == true) { + if( this->gameSettings.isNetworkGame() == false || + this->gameSettings.getEnableObserverModeAtEndGame() == true) { // Let the happy winner view everything left in the world world.setFogOfWar(false); @@ -1685,7 +1686,8 @@ void Game::checkWinnerStandard(){ } } gameOver= true; - if(this->gameSettings.getEnableObserverModeAtEndGame() == true) { + if( this->gameSettings.isNetworkGame() == false || + this->gameSettings.getEnableObserverModeAtEndGame() == true) { // Let the poor user watch everything unfold world.setFogOfWar(false); @@ -1728,7 +1730,8 @@ void Game::checkWinnerStandard(){ } } gameOver= true; - if(this->gameSettings.getEnableObserverModeAtEndGame() == true) { + if( this->gameSettings.isNetworkGame() == false || + this->gameSettings.getEnableObserverModeAtEndGame() == true) { // Let the happy winner view everything left in the world world.setFogOfWar(false);