mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-30 22:15:32 +00:00
Fix typo in a condition.
This commit is contained in:
parent
65161c3e24
commit
4625adfb7f
1 changed files with 1 additions and 1 deletions
|
@ -714,7 +714,7 @@ namespace MWMechanics
|
||||||
effect.mDuration = 1;
|
effect.mDuration = 1;
|
||||||
if (!(magicEffect->mData.mFlags & ESM::MagicEffect::NoMagnitude))
|
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));
|
magnitude = int((0.05 * y) / (0.1 * magicEffect->mData.mBaseCost));
|
||||||
else
|
else
|
||||||
magnitude = int(y / (0.1 * magicEffect->mData.mBaseCost));
|
magnitude = int(y / (0.1 * magicEffect->mData.mBaseCost));
|
||||||
|
|
Loading…
Reference in a new issue