mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-09-27 06:55:54 -04:00
Fix bug applying instant effects
This commit is contained in:
parent
4ed4c1e319
commit
bf153e1c8e
@ -157,7 +157,7 @@ namespace MWMechanics
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
applyInstantEffect(mTarget, effectIt->mEffectID, magnitude);
|
applyInstantEffect(target, effectIt->mEffectID, magnitude);
|
||||||
|
|
||||||
if (target.getClass().isActor() || magicEffect->mData.mFlags & ESM::MagicEffect::NoDuration)
|
if (target.getClass().isActor() || magicEffect->mData.mFlags & ESM::MagicEffect::NoDuration)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user