summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTim Angus <tim@ngus.net>2005-09-05 02:04:43 +0000
committerTim Angus <tim@ngus.net>2005-09-05 02:04:43 +0000
commit10e2a999d91998717d6f09c7e8c81d2fc865da84 (patch)
tree0d9c5649f3c11acb63e6b8c6261f94bb79f0392b /src
parente68685f1dd15593ea43af3ac324a219766110031 (diff)
* Reverted walk/run animation switching back to cmd.buttons instead of basing it on speed
Diffstat (limited to 'src')
-rw-r--r--src/game/bg_pmove.c3
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