mirror of
https://github.com/vcmi/vcmi.git
synced 2025-07-05 00:49:09 +02:00
Merge pull request #2668 from IvanSavenko/remove_current_player
Remove "currentPlayer" from gamestate
This commit is contained in:
@ -2501,7 +2501,8 @@ void PlayerCheated::applyGs(CGameState * gs) const
|
||||
|
||||
void YourTurn::applyGs(CGameState * gs) const
|
||||
{
|
||||
gs->currentPlayer = player;
|
||||
gs->actingPlayers.clear();
|
||||
gs->actingPlayers.insert(player);
|
||||
}
|
||||
|
||||
void DaysWithoutTown::applyGs(CGameState * gs) const
|
||||
|
Reference in New Issue
Block a user