mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-26 09:35:28 +00:00
Implement movement speed formula for creatures. Still moving a bit too slow.
This commit is contained in:
parent
b9869e8519
commit
f070d9966d
@ -301,7 +301,7 @@ namespace MWClass
|
||||
const MWBase::World *world = MWBase::Environment::get().getWorld();
|
||||
const MWMechanics::MagicEffects &mageffects = stats.getMagicEffects();
|
||||
|
||||
const float normalizedEncumbrance = 0; //getEncumbrance(ptr) / getCapacity(ptr);
|
||||
const float normalizedEncumbrance = getEncumbrance(ptr) / getCapacity(ptr);
|
||||
|
||||
bool running = ptr.getClass().getCreatureStats(ptr).getStance(MWMechanics::CreatureStats::Stance_Run);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user