mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-27 22:49:25 +02:00
map objects hierarchy now uses IGameInfoCallback
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
#include "CGHeroInstance.h"
|
||||
#include "ObjectTemplate.h"
|
||||
|
||||
#include "../callback/CGameInfoCallback.h"
|
||||
#include "../callback/IGameInfoCallback.h"
|
||||
#include "../callback/IGameEventCallback.h"
|
||||
#include "../gameState/CGameState.h"
|
||||
#include "../texts/CGeneralTextHandler.h"
|
||||
@@ -31,7 +31,7 @@
|
||||
VCMI_LIB_NAMESPACE_BEGIN
|
||||
|
||||
//TODO: remove constructor
|
||||
CGObjectInstance::CGObjectInstance(CGameInfoCallback *cb):
|
||||
CGObjectInstance::CGObjectInstance(IGameInfoCallback *cb):
|
||||
IObjectInterface(cb),
|
||||
pos(-1,-1,-1),
|
||||
ID(Obj::NO_OBJ),
|
||||
|
||||
Reference in New Issue
Block a user