mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-06 09:09:40 +02:00
Fixed a few CWE-457
This commit is contained in:
@@ -142,7 +142,7 @@ public:
|
||||
EBonusType bonusType;
|
||||
ui16 bonusID; //ID of skill/spell
|
||||
|
||||
CGScholar() : bonusType(EBonusType::RANDOM){};
|
||||
CGScholar() : bonusType(EBonusType::RANDOM),bonusID(0){};
|
||||
void onHeroVisit(const CGHeroInstance * h) const override;
|
||||
void initObj(CRandomGenerator & rand) override;
|
||||
template <typename Handler> void serialize(Handler &h, const int version)
|
||||
|
||||
Reference in New Issue
Block a user