1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-01-04 00:15:53 +02:00

Wait for inactive player in hotseat to answer dialog before starting

battle
This commit is contained in:
Ivan Savenko 2024-09-19 15:30:51 +00:00
parent e7779a0b90
commit 3e1968c201

View File

@ -1489,6 +1489,7 @@ void CPlayerInterface::playerBlocked(int reason, bool start)
cmp.push_back(std::make_shared<CComponent>(ComponentType::FLAG, playerID));
makingTurn = true; //workaround for stiff showInfoDialog implementation
showInfoDialog(msg, cmp);
waitWhileDialog();
makingTurn = false;
}
}