Bläddra i källkod

Fixed prototype.

Frank Zago 16 år sedan
förälder
incheckning
a9617b3dfd
1 ändrade filer med 2 tillägg och 2 borttagningar
  1. 2 2
      AI/EmptyAI/CEmptyAI.h

+ 2 - 2
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<Component> &components, ui32 askID, int soundID, bool selection, bool cancel){};
-	void showGarrisonDialog(const CArmedInstance *up, const CGHeroInstance *down, boost::function<void()> &onEnd){};
+	void showGarrisonDialog(const CArmedInstance *up, const CGHeroInstance *down, bool removableUnits, boost::function<void()> &onEnd) {};
 	void heroGotLevel(const CGHeroInstance *hero, int pskill, std::vector<ui16> &skills, boost::function<void(ui32)> &callback);
 };
 
-#define NAME "EmptyAI 0.1"
+#define NAME "EmptyAI 0.1"