1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-11-24 08:32:34 +02:00

Always show dialog when player starts turn in multiplayer

This commit is contained in:
Ivan Savenko 2024-04-26 15:59:44 +03:00
parent b8b42978b1
commit b54eede01c

View File

@ -289,7 +289,12 @@ void CPlayerInterface::yourTurn(QueryID queryID)
performAutosave();
}
if (CSH->howManyPlayerInterfaces() > 1) //hot seat message
int humanPlayersCount = 0;
for(const auto & info : cb->getStartInfo()->playerInfos)
if (info.second.isControlledByHuman())
humanPlayersCount++;
if (humanPlayersCount > 1) //hot seat or MP message
{
adventureInt->onHotseatWaitStarted(playerID);