diff --git a/AI/EmptyAI/CEmptyAI.cpp b/AI/EmptyAI/CEmptyAI.cpp index 4c176c269..0e19deaab 100644 --- a/AI/EmptyAI/CEmptyAI.cpp +++ b/AI/EmptyAI/CEmptyAI.cpp @@ -1,6 +1,6 @@ #include "CEmptyAI.h" #include -void CEmptyAI::init(ICallback * CB) +void CEmptyAI::init(CCallback * CB) { cb = CB; human=false; diff --git a/AI/EmptyAI/CEmptyAI.h b/AI/EmptyAI/CEmptyAI.h index e3d530098..c42a1bf8f 100644 --- a/AI/EmptyAI/CEmptyAI.h +++ b/AI/EmptyAI/CEmptyAI.h @@ -5,9 +5,10 @@ struct HeroMoveDetails; class CEmptyAI : public CGlobalAI { - ICallback * cb; + CCallback *cb; + public: - void init(ICallback * CB); + void init(CCallback * CB); void yourTurn(); void heroKilled(const CGHeroInstance *); void heroCreated(const CGHeroInstance *);