diff options
author | Tim Angus <tim@ngus.net> | 2005-09-05 02:04:43 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2005-09-05 02:04:43 +0000 |
commit | 10e2a999d91998717d6f09c7e8c81d2fc865da84 (patch) | |
tree | 0d9c5649f3c11acb63e6b8c6261f94bb79f0392b /src/game | |
parent | e68685f1dd15593ea43af3ac324a219766110031 (diff) |
* Reverted walk/run animation switching back to cmd.buttons instead of basing it on speed
Diffstat (limited to 'src/game')
-rw-r--r-- | src/game/bg_pmove.c | 3 |
1 files changed, 1 insertions, 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 |