1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-01-12 02:28:11 +02:00

Fixes #825 - do not wait for new week dialog in single-player

This commit is contained in:
Ivan Savenko 2022-11-14 15:53:07 +02:00
parent e4f3d2a685
commit 4fe8ff9b01

View File

@ -2338,10 +2338,13 @@ void CPlayerInterface::acceptTurn()
while(CInfoWindow *iw = dynamic_cast<CInfoWindow *>(GH.topInt().get()))
iw->close();
}
waitWhileDialog();
if(CSH->howManyPlayerInterfaces() > 1)
{
waitWhileDialog(); // wait for player to accept turn in hot-seat mode
adventureInt->startTurn();
}
adventureInt->heroList.update();
adventureInt->townList.update();