1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-29 23:07:48 +02:00

Added support for concurrent battles to gamestate and server

This commit is contained in:
Ivan Savenko
2023-08-25 18:23:15 +03:00
parent a21de70516
commit fc4dfda00f
24 changed files with 581 additions and 444 deletions

View File

@@ -40,6 +40,7 @@
#include "../lib/VCMI_Lib.h"
#include "../lib/int3.h"
#include "../lib/battle/BattleInfo.h"
#include "../lib/filesystem/FileInfo.h"
#include "../lib/filesystem/Filesystem.h"
#include "../lib/gameState/CGameState.h"
@@ -1007,6 +1008,7 @@ void CGameHandler::run(bool resume)
clockLast += clockDuration;
turnTimerHandler.update(timePassed);
boost::this_thread::sleep_for(boost::chrono::milliseconds(100));
}
}