1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-24 22:14:36 +02:00

Fixed bad prototype.

This commit is contained in:
Frank Zago 2011-01-29 19:07:49 +00:00
parent 551d1f1b26
commit 872a057aa7
2 changed files with 2 additions and 2 deletions

View File

@ -17,7 +17,7 @@ void CEmptyAI::heroKilled(const CGHeroInstance *)
void CEmptyAI::heroCreated(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<ui16> &skills, boost::function<void(ui32)> &callback) void CEmptyAI::heroGotLevel(const CGHeroInstance *hero, int pskill, std::vector<ui16> &skills, boost::function<void(ui32)> &callback)

View File

@ -11,7 +11,7 @@ public:
void yourTurn(); void yourTurn();
void heroKilled(const CGHeroInstance *); void heroKilled(const CGHeroInstance *);
void heroCreated(const CGHeroInstance *); void heroCreated(const CGHeroInstance *);
void heroMoved(const HeroMoveDetails &); void heroMoved(const TryMoveHero&);
void heroPrimarySkillChanged(const CGHeroInstance * hero, int which, int val) {}; void heroPrimarySkillChanged(const CGHeroInstance * hero, int which, int val) {};
void showSelDialog(std::string text, std::vector<CSelectableComponent*> & components, int askID){}; void showSelDialog(std::string text, std::vector<CSelectableComponent*> & components, int askID){};
void tileRevealed(int3 pos){}; void tileRevealed(int3 pos){};