Browse Source

Fix path and music not updating on new turn

Ivan Savenko 1 year ago
parent
commit
7328c9ffd6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      client/adventureMap/AdventureMapInterface.cpp

+ 1 - 1
client/adventureMap/AdventureMapInterface.cpp

@@ -444,7 +444,7 @@ void AdventureMapInterface::onPlayerTurnStarted(PlayerColor playerID)
 		LOCPLINT->localState->setSelection(LOCPLINT->localState->getWanderingHero(0));
 		LOCPLINT->localState->setSelection(LOCPLINT->localState->getWanderingHero(0));
 	}
 	}
 
 
-	centerOnObject(LOCPLINT->localState->getCurrentArmy());
+	onSelectionChanged(LOCPLINT->localState->getCurrentArmy());
 
 
 	//show new day animation and sound on infobar, except for 1st day of the game
 	//show new day animation and sound on infobar, except for 1st day of the game
 	if (LOCPLINT->cb->getDate(Date::DAY) != 1)
 	if (LOCPLINT->cb->getDate(Date::DAY) != 1)