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:
parent
cb916594d9
commit
56cd0da522
@ -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())
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user