1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-06 00:55:50 +00:00

Fix potential infinite recursion when an area effect spell is reflected (Fixes #1896)

This commit is contained in:
scrawl 2014-09-09 04:44:14 +02:00
parent cb916594d9
commit 56cd0da522

View File

@ -519,7 +519,7 @@ namespace MWMechanics
MWBase::Environment::get().getWorld()->explodeSpell(mHitPosition, effects, caster, mId, mSourceName);
if (!reflectedEffects.mList.empty())
inflict(caster, target, reflectedEffects, range, true);
inflict(caster, target, reflectedEffects, range, true, exploded);
if (!appliedLastingEffects.empty())
{