2
0
Эх сурвалжийг харах

Update RecruitHero.h

Fix warning.
Xilmi 1 жил өмнө
parent
commit
1e2021fb6d

+ 1 - 1
AI/Nullkiller/Goals/RecruitHero.h

@@ -44,7 +44,7 @@ namespace Goals
 		}
 
 		std::string toString() const override;
-		const CGHeroInstance* getHero() { return heroToBuy; }
+		const CGHeroInstance* getHero() const override { return heroToBuy; }
 		void accept(AIGateway * ai) override;
 	};
 }