diff --git a/apps/openmw/mwscript/statsextensions.cpp b/apps/openmw/mwscript/statsextensions.cpp index 727c48c71..997e2473a 100644 --- a/apps/openmw/mwscript/statsextensions.cpp +++ b/apps/openmw/mwscript/statsextensions.cpp @@ -533,9 +533,8 @@ namespace MWScript extensions.registerInstruction (modCurrent + dynamics[i], "l", opcodeModCurrentDynamic+i, opcodeModCurrentDynamicExplicit+i); - if (i==0) // GetMagickaGetRatio and GetFatigueGetRatio don't exist in original MW - extensions.registerFunction (get + dynamics[i] + getRatio, 'f', "", - opcodeGetDynamicGetRatio+i, opcodeGetDynamicGetRatioExplicit+i); + extensions.registerFunction (get + dynamics[i] + getRatio, 'f', "", + opcodeGetDynamicGetRatio+i, opcodeGetDynamicGetRatioExplicit+i); } }