1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-02-19 17:09:40 +00:00

Fix bug applying instant effects

This commit is contained in:
scrawl 2013-11-21 00:41:52 +01:00
parent 4ed4c1e319
commit bf153e1c8e

View file

@ -157,7 +157,7 @@ namespace MWMechanics
}
}
else
applyInstantEffect(mTarget, effectIt->mEffectID, magnitude);
applyInstantEffect(target, effectIt->mEffectID, magnitude);
if (target.getClass().isActor() || magicEffect->mData.mFlags & ESM::MagicEffect::NoDuration)
{