1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-06 09:09:40 +02:00

Fix build

This commit is contained in:
Ivan Savenko
2023-06-02 22:00:44 +03:00
parent d6a357fd17
commit 97b3b2e147
8 changed files with 22 additions and 6 deletions

View File

@@ -25,6 +25,8 @@
#include "../mapping/CMap.h"
#include "../serializer/JsonSerializeFormat.h"
VCMI_LIB_NAMESPACE_BEGIN
//TODO: remove constructor
CGObjectInstance::CGObjectInstance():
pos(-1,-1,-1),
@@ -342,3 +344,5 @@ BattleField CGObjectInstance::getBattlefield() const
{
return VLC->objtypeh->getHandlerFor(ID, subID)->getBattlefield();
}
VCMI_LIB_NAMESPACE_END