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:
@@ -712,7 +712,7 @@ void CMapLoaderH3M::readAllowedSpellsAbilities()
|
|||||||
map->allowedSpell.resize(VLC->spellh->objects.size(), true);
|
map->allowedSpell.resize(VLC->spellh->objects.size(), true);
|
||||||
|
|
||||||
// Read allowed abilities
|
// Read allowed abilities
|
||||||
map->allowedAbilities.resize(GameConstants::SKILL_QUANTITY, true);
|
map->allowedAbilities.resize(VLC->skillh->objects.size(), true);
|
||||||
|
|
||||||
if(map->version >= EMapFormat::SOD)
|
if(map->version >= EMapFormat::SOD)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user