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:
parent
b5b9f17799
commit
416b61d06a
1 changed files with 2 additions and 3 deletions
|
@ -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);
|
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue