|
|
|
@ -3162,7 +3162,7 @@ namespace MWWorld
|
|
|
|
|
{
|
|
|
|
|
const ESM::MagicEffect* effect = getStore().get<ESM::MagicEffect>().find(effectIt->mEffectID);
|
|
|
|
|
|
|
|
|
|
if ((effectIt->mArea <= 0 && !ignore.isEmpty() && ignore.getClass().isActor()) || effectIt->mRange != rangeType)
|
|
|
|
|
if (effectIt->mRange != rangeType || (effectIt->mArea <= 0 && !ignore.isEmpty() && ignore.getClass().isActor()))
|
|
|
|
|
continue; // Not right range type, or not area effect and hit an actor
|
|
|
|
|
|
|
|
|
|
// Spawn the explosion orb effect
|
|
|
|
|