mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-29 22:15:32 +00:00
Fix jumping encumbrance calculation
This commit is contained in:
parent
bdfa430857
commit
1c9fba9a8c
1 changed files with 1 additions and 1 deletions
|
@ -988,7 +988,7 @@ namespace MWClass
|
|||
const MWMechanics::MagicEffects &mageffects = npcdata->mNpcStats.getMagicEffects();
|
||||
const float encumbranceTerm = gmst.fJumpEncumbranceBase->getFloat() +
|
||||
gmst.fJumpEncumbranceMultiplier->getFloat() *
|
||||
(1.0f - Npc::getEncumbrance(ptr)/Npc::getCapacity(ptr));
|
||||
(1.0f - Npc::getNormalizedEncumbrance(ptr));
|
||||
|
||||
float a = static_cast<float>(npcdata->mNpcStats.getSkill(ESM::Skill::Acrobatics).getModified());
|
||||
float b = 0.0f;
|
||||
|
|
Loading…
Reference in a new issue