1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-23 22:37:55 +02:00

Clear rewardable garrison after player is done picking units

This commit is contained in:
Ivan Savenko
2025-04-30 18:00:43 +03:00
parent 544adfd545
commit 7fc1990282
2 changed files with 10 additions and 0 deletions

View File

@@ -56,6 +56,7 @@ public:
void onHeroVisit(const CGHeroInstance *h) const override;
void battleFinished(const CGHeroInstance *hero, const BattleResult &result) const override;
void garrisonDialogClosed(const CGHeroInstance *hero) const override;
///possibly resets object state
void newTurn(vstd::RNG & rand) const override;