1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-06 09:09:40 +02:00

Default constructors for Scholar, Pandora and Event.

This commit is contained in:
DjWarmonger
2014-09-23 09:46:31 +02:00
parent 3e36d0d88b
commit 8e1e8abe90
2 changed files with 3 additions and 0 deletions

View File

@@ -127,6 +127,7 @@ public:
ui16 bonusID; //ID of skill/spell
// void giveAnyBonus(const CGHeroInstance * h) const; //TODO: remove
CGScholar() : bonusType(EBonusType::RANDOM){};
void onHeroVisit(const CGHeroInstance * h) const override;
void initObj() override;
template <typename Handler> void serialize(Handler &h, const int version)