mirror of
https://github.com/vcmi/vcmi.git
synced 2025-01-26 03:52:01 +02:00
Do not play new day animation on game start
This commit is contained in:
parent
a7b1fa819f
commit
36efef0ee3
@ -394,8 +394,9 @@ void AdventureMapInterface::onPlayerTurnStarted(PlayerColor playerID)
|
||||
LOCPLINT->localState->setSelection(LOCPLINT->localState->getWanderingHero(0));
|
||||
}
|
||||
|
||||
//show new day animation and sound on infobar
|
||||
widget->getInfoBar()->showDate();
|
||||
//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();
|
||||
|
||||
onHeroChanged(nullptr);
|
||||
Canvas canvas = Canvas::createFromSurface(screen);
|
||||
|
Loading…
x
Reference in New Issue
Block a user