mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-26 22:57:00 +02:00
Merge pull request #1699 from rilian-la-te/fix-ignissa
Rewardable: always initialize numbers
This commit is contained in:
commit
f24ca6fbcf
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user