1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-25 22:42:04 +02:00

One step forward

This commit is contained in:
nordsoft
2022-10-04 02:25:22 +04:00
parent 512cf014aa
commit b91bb41a80
4 changed files with 12 additions and 5 deletions

View File

@@ -370,6 +370,11 @@ DLL_LINKAGE void PlayerReinitInterface::applyGs(CGameState *gs)
if(!gs || !gs->scenarioOps)
return;
gs->currentPlayer = player;
//auto & playerState = gs->players[player];
//playerState.daysWithoutCastle = daysWithoutCastle;
//TODO: what does mean if more that one player connected?
//gs->scenarioOps->getIthPlayersSettings(player).connectedPlayerIDs.clear();
}