mirror of
				https://github.com/vcmi/vcmi.git
				synced 2025-10-31 00:07:39 +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:
		| @@ -469,6 +469,7 @@ ui8 CGHeroInstance::maxlevelsToWisdom() const | ||||
|  | ||||
| CGHeroInstance::SecondarySkillsInfo::SecondarySkillsInfo() | ||||
| { | ||||
| 	rand.setSeed(0); | ||||
| 	magicSchoolCounter = 1; | ||||
| 	wisdomCounter = 1; | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user