mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-29 23:07:48 +02:00
map objects hierarchy now uses IGameInfoCallback
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
#include "CArtifact.h"
|
||||
#include "CArtifactSet.h"
|
||||
|
||||
#include "../../callback/CGameInfoCallback.h"
|
||||
#include "../../callback/IGameInfoCallback.h"
|
||||
#include "../../gameState/CGameState.h"
|
||||
|
||||
VCMI_LIB_NAMESPACE_BEGIN
|
||||
@@ -125,13 +125,13 @@ void CGrowingArtifactInstance::growingUp()
|
||||
}
|
||||
}
|
||||
|
||||
CArtifactInstance::CArtifactInstance(CGameInfoCallback *cb, const CArtifact * art)
|
||||
CArtifactInstance::CArtifactInstance(IGameInfoCallback *cb, const CArtifact * art)
|
||||
:CArtifactInstance(cb)
|
||||
{
|
||||
setType(art);
|
||||
}
|
||||
|
||||
CArtifactInstance::CArtifactInstance(CGameInfoCallback *cb)
|
||||
CArtifactInstance::CArtifactInstance(IGameInfoCallback *cb)
|
||||
: CBonusSystemNode(ARTIFACT_INSTANCE)
|
||||
, CCombinedArtifactInstance(cb)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user