summaryrefslogtreecommitdiff
path: root/src/game
diff options
context:
space:
mode:
Diffstat (limited to 'src/game')
-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