1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-20 10:23:51 +00:00

removed a special case, that wasn't a special case (MW Scripting for Dummies seems to be wrong here)

This commit is contained in:
Marc Zinnschlag 2010-07-29 01:45:06 +08:00 committed by apreiml
parent b5b9f17799
commit 416b61d06a

View file

@ -533,9 +533,8 @@ namespace MWScript
extensions.registerInstruction (modCurrent + dynamics[i], "l", extensions.registerInstruction (modCurrent + dynamics[i], "l",
opcodeModCurrentDynamic+i, opcodeModCurrentDynamicExplicit+i); opcodeModCurrentDynamic+i, opcodeModCurrentDynamicExplicit+i);
if (i==0) // GetMagickaGetRatio and GetFatigueGetRatio don't exist in original MW extensions.registerFunction (get + dynamics[i] + getRatio, 'f', "",
extensions.registerFunction (get + dynamics[i] + getRatio, 'f', "", opcodeGetDynamicGetRatio+i, opcodeGetDynamicGetRatioExplicit+i);
opcodeGetDynamicGetRatio+i, opcodeGetDynamicGetRatioExplicit+i);
} }
} }