1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-29 21:45:32 +00:00

Fix typo in a condition.

This commit is contained in:
scrawl 2014-04-18 11:43:37 +02:00
parent 65161c3e24
commit 4625adfb7f

View file

@ -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));