Merge remote-tracking branch 'scrawl/master'

actorid
Marc Zinnschlag 11 years ago
commit 34092f9f5d

@ -714,7 +714,7 @@ namespace MWMechanics
effect.mDuration = 1;
if (!(magicEffect->mData.mFlags & ESM::MagicEffect::NoMagnitude))
{
if (!magicEffect->mData.mFlags & ESM::MagicEffect::NoDuration)
if (!(magicEffect->mData.mFlags & ESM::MagicEffect::NoDuration))
magnitude = int((0.05 * y) / (0.1 * magicEffect->mData.mBaseCost));
else
magnitude = int(y / (0.1 * magicEffect->mData.mBaseCost));

Loading…
Cancel
Save