Browse Source

fix Ignissa bug the old way

Konstantin 2 years ago
parent
commit
6de042657c
1 changed files with 4 additions and 1 deletions
  1. 4 1
      lib/mapObjects/CRewardableObject.h

+ 4 - 1
lib/mapObjects/CRewardableObject.h

@@ -73,8 +73,11 @@ public:
 	CRewardLimiter():
 		dayOfWeek(0),
 		daysPassed(0),
+		heroExperience(0),
 		heroLevel(0),
-		primary(4, 0)
+		manaPercentage(0),
+		manaPoints(0),
+		primary(GameConstants::PRIMARY_SKILLS, 0)
 	{}
 
 	bool heroAllowed(const CGHeroInstance * hero) const;