1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-08-10 22:31:40 +02:00

Merge pull request #4624 from IvanSavenko/fix_hotseat_combat

[beta] Wait for inactive player in hotseat to answer dialog before starting battle
This commit is contained in:
Ivan Savenko
2024-09-20 11:50:40 +03:00
committed by GitHub

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;
}
}