1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-11-28 08:48:48 +02:00

Remove unused variable

This commit is contained in:
nordsoft 2023-08-28 19:57:42 +04:00
parent 432ed18579
commit 883c68b151

View File

@ -1006,8 +1006,6 @@ void CGameHandler::run(bool resume)
const int timePassed = std::chrono::duration_cast<std::chrono::milliseconds>(clockDuration).count();
clockLast += clockDuration;
const int waitTime = 100; //ms
for(PlayerColor player(0); player < PlayerColor::PLAYER_LIMIT; ++player)
if(gs->isPlayerMakingTurn(player))
turnTimerHandler.onPlayerMakingTurn(player, timePassed);