forked from mirror/openmw-tes3mp
Don't scale the movement vector up
This commit is contained in:
parent
bdda7278c4
commit
04524fbf92
1 changed files with 4 additions and 8 deletions
|
@ -311,14 +311,10 @@ namespace MWClass
|
|||
|
||||
Ogre::Vector3 Npc::getMovementVector (const MWWorld::Ptr& ptr) const
|
||||
{
|
||||
Ogre::Vector3 vector (0, 0, 0);
|
||||
|
||||
vector.x = getMovementSettings (ptr).mLeftRight * 127;
|
||||
vector.y = getMovementSettings (ptr).mForwardBackward * 127;
|
||||
vector.z = getMovementSettings(ptr).mUpDown * 127;
|
||||
|
||||
//if (getStance (ptr, Run, false))
|
||||
// vector *= 2;
|
||||
Ogre::Vector3 vector;
|
||||
vector.x = getMovementSettings(ptr).mLeftRight;
|
||||
vector.y = getMovementSettings(ptr).mForwardBackward;
|
||||
vector.z = getMovementSettings(ptr).mUpDown;
|
||||
|
||||
return vector;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue