- by special request for ultifd (allow players to zoom out at game end when playing non network games)

This commit is contained in:
Mark Vejvoda 2010-09-29 22:18:08 +00:00
parent 80051e3194
commit 3e0a87549c

View File

@ -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);