mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-16 10:19:47 +02:00
Ivan's fix to brown arrows after new turn
A fix Ivan posted about on Discord that takes care of a newly introduced bug in development-branch that you had to reselect your hero manually after a new turn because he would otherwise think he's still on last-turn when it came to executing planned movement.
This commit is contained in:
parent
f8f10adb2e
commit
ce4905ac4c
@ -444,7 +444,7 @@ void AdventureMapInterface::onPlayerTurnStarted(PlayerColor playerID)
|
||||
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
|
||||
if (LOCPLINT->cb->getDate(Date::DAY) != 1)
|
||||
|
Loading…
Reference in New Issue
Block a user