mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-26 22:57:00 +02:00
CGHeroInstance::SecondarySkillsInfo: always set rand seed
Seed will always be set again on hero initialization, but for save sync it's must be same before that. Related to issue 2459
This commit is contained in:
parent
ec22da4412
commit
206c5699cf
@ -469,6 +469,7 @@ ui8 CGHeroInstance::maxlevelsToWisdom() const
|
||||
|
||||
CGHeroInstance::SecondarySkillsInfo::SecondarySkillsInfo()
|
||||
{
|
||||
rand.setSeed(0);
|
||||
magicSchoolCounter = 1;
|
||||
wisdomCounter = 1;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user