From 10e2a999d91998717d6f09c7e8c81d2fc865da84 Mon Sep 17 00:00:00 2001 From: Tim Angus Date: Mon, 5 Sep 2005 02:04:43 +0000 Subject: * Reverted walk/run animation switching back to cmd.buttons instead of basing it on speed --- src/game/bg_pmove.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/game/bg_pmove.c b/src/game/bg_pmove.c index 6fbc059b..ed9f6c7b 100644 --- a/src/game/bg_pmove.c +++ b/src/game/bg_pmove.c @@ -2435,8 +2435,7 @@ static void PM_Footsteps( void ) } else { - //TA: switch walking/running anims based on speed - if( pm->xyspeed > 160 ) + if( !( pm->cmd.buttons & BUTTON_WALKING ) ) { bobmove = 0.4f; // faster speeds bob faster -- cgit