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