1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-24 22:14:36 +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)
{