From 4fe8ff9b014aeccb728ba6703a60ee21a0f61f74 Mon Sep 17 00:00:00 2001 From: Ivan Savenko Date: Mon, 14 Nov 2022 15:53:07 +0200 Subject: [PATCH] Fixes #825 - do not wait for new week dialog in single-player --- client/CPlayerInterface.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/client/CPlayerInterface.cpp b/client/CPlayerInterface.cpp index af40aa43f..7ab32d13d 100644 --- a/client/CPlayerInterface.cpp +++ b/client/CPlayerInterface.cpp @@ -2338,10 +2338,13 @@ void CPlayerInterface::acceptTurn() while(CInfoWindow *iw = dynamic_cast(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();