mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-25 22:42:04 +02:00
Remove copy-pasted code in rewardable town building leading to hero not
registered as visitor
This commit is contained in:
@@ -48,6 +48,8 @@ protected:
|
||||
virtual void markAsVisited(const CGHeroInstance * hero) const = 0;
|
||||
virtual void markAsScouted(const CGHeroInstance * hero) const = 0;
|
||||
virtual void grantReward(ui32 rewardID, const CGHeroInstance * hero) const = 0;
|
||||
|
||||
void onBlockingDialogAnswered(const CGHeroInstance * hero, int32_t answer) const;
|
||||
public:
|
||||
|
||||
/// filters list of visit info and returns rewards that can be granted to current hero
|
||||
|
||||
Reference in New Issue
Block a user