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:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user