1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-24 22:14:36 +02:00

Fix compiling

This commit is contained in:
nordsoft 2023-08-14 04:55:45 +04:00
parent 380ee41fba
commit a8e5b32b6a
2 changed files with 5 additions and 1 deletions

View File

@ -1563,6 +1563,10 @@ int CGameHandler::moveStack(int stack, BattleHex dest)
return ret;
}
CGameHandler::CGameHandler()
: turnTimerHandler(*this)
{}
CGameHandler::CGameHandler(CVCMIServer * lobby)
: lobby(lobby)
, heroPool(std::make_unique<HeroPoolProcessor>(this))

View File

@ -157,7 +157,7 @@ public:
void setupBattle(int3 tile, const CArmedInstance *armies[2], const CGHeroInstance *heroes[2], bool creatureBank, const CGTownInstance *town);
void setBattleResult(BattleResult::EResult resultType, int victoriusSide);
CGameHandler() = default;
CGameHandler();
CGameHandler(CVCMIServer * lobby);
~CGameHandler();