From a9617b3dfd6d1920b6aedefceaeeb2d6fa4886c5 Mon Sep 17 00:00:00 2001 From: Frank Zago Date: Thu, 10 Sep 2009 14:06:28 +0000 Subject: [PATCH] Fixed prototype. --- AI/EmptyAI/CEmptyAI.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/AI/EmptyAI/CEmptyAI.h b/AI/EmptyAI/CEmptyAI.h index ce82a6200..1bd637a58 100644 --- a/AI/EmptyAI/CEmptyAI.h +++ b/AI/EmptyAI/CEmptyAI.h @@ -15,8 +15,8 @@ public: void tileRevealed(int3 pos){}; void tileHidden(int3 pos){}; void showBlockingDialog(const std::string &text, const std::vector &components, ui32 askID, int soundID, bool selection, bool cancel){}; - void showGarrisonDialog(const CArmedInstance *up, const CGHeroInstance *down, boost::function &onEnd){}; + void showGarrisonDialog(const CArmedInstance *up, const CGHeroInstance *down, bool removableUnits, boost::function &onEnd) {}; void heroGotLevel(const CGHeroInstance *hero, int pskill, std::vector &skills, boost::function &callback); }; -#define NAME "EmptyAI 0.1" \ No newline at end of file +#define NAME "EmptyAI 0.1"