mirror of
https://github.com/vcmi/vcmi.git
synced 2025-05-13 22:06:58 +02:00
Do not play new day animation on game start
This commit is contained in:
parent
a7b1fa819f
commit
36efef0ee3
@ -394,7 +394,8 @@ void AdventureMapInterface::onPlayerTurnStarted(PlayerColor playerID)
|
|||||||
LOCPLINT->localState->setSelection(LOCPLINT->localState->getWanderingHero(0));
|
LOCPLINT->localState->setSelection(LOCPLINT->localState->getWanderingHero(0));
|
||||||
}
|
}
|
||||||
|
|
||||||
//show new day animation and sound on infobar
|
//show new day animation and sound on infobar, except for 1st day of the game
|
||||||
|
if (LOCPLINT->cb->getDate(Date::DAY) != 1)
|
||||||
widget->getInfoBar()->showDate();
|
widget->getInfoBar()->showDate();
|
||||||
|
|
||||||
onHeroChanged(nullptr);
|
onHeroChanged(nullptr);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user