1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-07-05 00:49:09 +02:00

map objects hierarchy now uses IGameInfoCallback

This commit is contained in:
Ivan Savenko
2025-05-14 15:50:13 +03:00
parent 6f20235d07
commit 4d4da0454f
111 changed files with 485 additions and 507 deletions

View File

@ -11,7 +11,7 @@
#include "CPlayerState.h"
#include "GameLibrary.h"
#include "callback/CGameInfoCallback.h"
#include "callback/IGameInfoCallback.h"
#include "mapObjects/CGHeroInstance.h"
#include "mapObjects/CGTownInstance.h"
#include "gameState/CGameState.h"
@ -21,7 +21,7 @@
VCMI_LIB_NAMESPACE_BEGIN
PlayerState::PlayerState(CGameInfoCallback *cb)
PlayerState::PlayerState(IGameInfoCallback *cb)
: CBonusSystemNode(PLAYER)
, GameCallbackHolder(cb)
, color(-1)