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

Update RecruitHero.h

Fix warning.
This commit is contained in:
Xilmi 2024-07-24 21:41:49 +02:00
parent 8152b003fe
commit 1e2021fb6d

View File

@ -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;
};
}