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:
parent
f653d22f99
commit
5b767d8b0d
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user