mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-24 22:14:36 +02:00
Fix compiling
This commit is contained in:
parent
78397d6d1a
commit
084122bc80
@ -1003,9 +1003,9 @@ void CGameHandler::run(bool resume)
|
||||
{
|
||||
const int waitTime = 100; //ms
|
||||
|
||||
for(auto & player : gs->players)
|
||||
if (gs->isPlayerMakingTurn(player.first))
|
||||
turnTimerHandler.onPlayerMakingTurn(player.second, waitTime);
|
||||
for(PlayerColor player(0); player < PlayerColor::PLAYER_LIMIT; ++player)
|
||||
if(gs->isPlayerMakingTurn(player))
|
||||
turnTimerHandler.onPlayerMakingTurn(player, waitTime);
|
||||
|
||||
if(gs->curB)
|
||||
turnTimerHandler.onBattleLoop(waitTime);
|
||||
|
Loading…
Reference in New Issue
Block a user