mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-25 22:42:04 +02:00
First step at unifying game identifiers code
This commit is contained in:
@@ -914,7 +914,7 @@ void CGWitchHut::serializeJsonOptions(JsonSerializeFormat & handler)
|
||||
|
||||
if(handler.saving)
|
||||
{
|
||||
for(si32 i = 0; i < skillCount; ++i)
|
||||
for(SecondarySkill i(0); i < SecondarySkill(skillCount); ++i)
|
||||
if(vstd::contains(allowedAbilities, i))
|
||||
temp[i] = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user