mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-01 03:21:41 +00:00
Fix summoning effects
This commit is contained in:
parent
a495b9b884
commit
183c46b0ef
@ -763,7 +763,7 @@ namespace MWMechanics
|
||||
|
||||
bool hasSummonEffect = false;
|
||||
for (MagicEffects::Collection::const_iterator it = effects.begin(); it != effects.end(); ++it)
|
||||
if (it->first.mId >= ESM::MagicEffect::SummonScamp && it->first.mId <= ESM::MagicEffect::SummonStormAtronach)
|
||||
if (isSummoningEffect(it->first.mId))
|
||||
hasSummonEffect = true;
|
||||
|
||||
if (!creatureStats.getSummonedCreatureMap().empty() || !creatureStats.getSummonedCreatureGraveyard().empty() || hasSummonEffect)
|
||||
|
Loading…
Reference in New Issue
Block a user