sprint animation in water

This commit is contained in:
yvt 2013-08-30 00:19:06 +09:00
parent e7a8289646
commit 47b14c0f2a

View File

@ -506,7 +506,7 @@ namespace spades {
Vector3 vel = player->GetVelocty();
vel.z = 0.f;
if(actualInput.sprint && player->IsAlive() &&
vel.GetLength() > .2f && !player->GetWade()){
vel.GetLength() > .1f){
sprintState += dt * 4.f;
if(sprintState > 1.f)
sprintState = 1.f;