From 872a057aa79071ffcf69569a832f7a70b3e06c0a Mon Sep 17 00:00:00 2001 From: Frank Zago Date: Sat, 29 Jan 2011 19:07:49 +0000 Subject: [PATCH] Fixed bad prototype. --- AI/EmptyAI/CEmptyAI.cpp | 2 +- AI/EmptyAI/CEmptyAI.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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){};