mirror of
https://github.com/vcmi/vcmi.git
synced 2025-05-21 22:33:43 +02:00
Fix compiling
This commit is contained in:
parent
380ee41fba
commit
a8e5b32b6a
@ -1563,6 +1563,10 @@ int CGameHandler::moveStack(int stack, BattleHex dest)
|
|||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
CGameHandler::CGameHandler()
|
||||||
|
: turnTimerHandler(*this)
|
||||||
|
{}
|
||||||
|
|
||||||
CGameHandler::CGameHandler(CVCMIServer * lobby)
|
CGameHandler::CGameHandler(CVCMIServer * lobby)
|
||||||
: lobby(lobby)
|
: lobby(lobby)
|
||||||
, heroPool(std::make_unique<HeroPoolProcessor>(this))
|
, heroPool(std::make_unique<HeroPoolProcessor>(this))
|
||||||
|
@ -157,7 +157,7 @@ public:
|
|||||||
void setupBattle(int3 tile, const CArmedInstance *armies[2], const CGHeroInstance *heroes[2], bool creatureBank, const CGTownInstance *town);
|
void setupBattle(int3 tile, const CArmedInstance *armies[2], const CGHeroInstance *heroes[2], bool creatureBank, const CGTownInstance *town);
|
||||||
void setBattleResult(BattleResult::EResult resultType, int victoriusSide);
|
void setBattleResult(BattleResult::EResult resultType, int victoriusSide);
|
||||||
|
|
||||||
CGameHandler() = default;
|
CGameHandler();
|
||||||
CGameHandler(CVCMIServer * lobby);
|
CGameHandler(CVCMIServer * lobby);
|
||||||
~CGameHandler();
|
~CGameHandler();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user