1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-06 09:09:40 +02:00

Keep new skills from mods active in h3m maps

This commit is contained in:
Ivan Savenko
2023-02-25 12:27:29 +02:00
parent f653d22f99
commit 5b767d8b0d

View File

@@ -712,7 +712,7 @@ void CMapLoaderH3M::readAllowedSpellsAbilities()
map->allowedSpell.resize(VLC->spellh->objects.size(), true);
// Read allowed abilities
map->allowedAbilities.resize(GameConstants::SKILL_QUANTITY, true);
map->allowedAbilities.resize(VLC->skillh->objects.size(), true);
if(map->version >= EMapFormat::SOD)
{