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:
parent
b8b42978b1
commit
b54eede01c
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user