mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-23 22:37:55 +02:00
Fix 2264 learning stone & Learning skill
This commit is contained in:
@@ -104,9 +104,10 @@ public:
|
||||
/// if set to true, object will be removed after granting reward
|
||||
bool removeObject;
|
||||
|
||||
/// Generates list of components that describes reward
|
||||
virtual void loadComponents(std::vector<Component> & comps) const;
|
||||
Component getDisplayedComponent() const;
|
||||
/// Generates list of components that describes reward for a specific hero
|
||||
virtual void loadComponents(std::vector<Component> & comps,
|
||||
const CGHeroInstance * h) const;
|
||||
Component getDisplayedComponent(const CGHeroInstance * h) const;
|
||||
|
||||
CRewardInfo() :
|
||||
gainedExp(0),
|
||||
|
||||
Reference in New Issue
Block a user