|
|
@ -1874,7 +1874,7 @@ void CharacterController::update(float duration)
|
|
|
|
: (sneak ? CharState_SneakBack
|
|
|
|
: (sneak ? CharState_SneakBack
|
|
|
|
: (isrunning ? CharState_RunBack : CharState_WalkBack)));
|
|
|
|
: (isrunning ? CharState_RunBack : CharState_WalkBack)));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
else if(rot.z() != 0.0f && !inwater && !sneak && !(mPtr == getPlayer() && MWBase::Environment::get().getWorld()->isFirstPerson()))
|
|
|
|
else if(rot.z() != 0.0f && !sneak && !(mPtr == getPlayer() && MWBase::Environment::get().getWorld()->isFirstPerson()))
|
|
|
|
{
|
|
|
|
{
|
|
|
|
if(rot.z() > 0.0f)
|
|
|
|
if(rot.z() > 0.0f)
|
|
|
|
movestate = inwater ? CharState_SwimTurnRight : CharState_TurnRight;
|
|
|
|
movestate = inwater ? CharState_SwimTurnRight : CharState_TurnRight;
|
|
|
|