1
0
mirror of https://github.com/vcmi/vcmi.git synced 2026-05-22 09:55:17 +02:00

Update RecruitHero.h

Multiple orders for the same hero by different towns are now handled properly instead of trying to buy the same hero several times.
This commit is contained in:
Xilmi
2024-07-24 21:23:20 +02:00
parent 19b969406c
commit e2e3cd281c
+1
View File
@@ -44,6 +44,7 @@ namespace Goals
}
std::string toString() const override;
const CGHeroInstance* getHero() { return heroToBuy; }
void accept(AIGateway * ai) override;
};
}