1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-06-17 00:07:41 +02:00

Support hotseat over multiplier

This commit is contained in:
nordsoft
2022-10-05 01:54:31 +04:00
parent 77ff6a64e6
commit 3ff38b84a2
4 changed files with 40 additions and 30 deletions

View File

@ -372,7 +372,10 @@ DLL_LINKAGE void PlayerReinitInterface::applyGs(CGameState *gs)
//TODO: what does mean if more that one player connected?
if(playerConnectionId == PlayerSettings::PLAYER_AI)
gs->scenarioOps->getIthPlayersSettings(player).connectedPlayerIDs.clear();
{
for(auto player : players)
gs->scenarioOps->getIthPlayersSettings(player).connectedPlayerIDs.clear();
}
}
DLL_LINKAGE void RemoveBonus::applyGs(CGameState *gs)