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