diff --git a/AI/EmptyAI/CEmptyAI.cpp b/AI/EmptyAI/CEmptyAI.cpp index fa904dd3d..4c176c269 100644 --- a/AI/EmptyAI/CEmptyAI.cpp +++ b/AI/EmptyAI/CEmptyAI.cpp @@ -17,7 +17,7 @@ void CEmptyAI::heroKilled(const CGHeroInstance *) void CEmptyAI::heroCreated(const CGHeroInstance *) { } -void CEmptyAI::heroMoved(const HeroMoveDetails &) +void CEmptyAI::heroMoved(const TryMoveHero& TMH) { } void CEmptyAI::heroGotLevel(const CGHeroInstance *hero, int pskill, std::vector &skills, boost::function &callback) diff --git a/AI/EmptyAI/CEmptyAI.h b/AI/EmptyAI/CEmptyAI.h index 988e3796c..e3d530098 100644 --- a/AI/EmptyAI/CEmptyAI.h +++ b/AI/EmptyAI/CEmptyAI.h @@ -11,7 +11,7 @@ public: void yourTurn(); void heroKilled(const CGHeroInstance *); void heroCreated(const CGHeroInstance *); - void heroMoved(const HeroMoveDetails &); + void heroMoved(const TryMoveHero&); void heroPrimarySkillChanged(const CGHeroInstance * hero, int which, int val) {}; void showSelDialog(std::string text, std::vector & components, int askID){}; void tileRevealed(int3 pos){};