summaryrefslogtreecommitdiff
path: root/src/game/bg_pmove.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/bg_pmove.c')
-rw-r--r--src/game/bg_pmove.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/bg_pmove.c b/src/game/bg_pmove.c
index 6769fa02..b16f11c4 100644
--- a/src/game/bg_pmove.c
+++ b/src/game/bg_pmove.c
@@ -919,7 +919,7 @@ static qboolean PM_CheckDodge( void )
// Reasons to stop a sprint
if( pm->cmd.forwardmove <= 0 || pm->cmd.upmove < 0 ||
- pm->ps->pm_type != PM_NORMAL )
+ pm->ps->pm_type != PM_NORMAL || pm->cmd.buttons & BUTTON_WALKING )
pm->ps->stats[ STAT_STATE ] &= ~SS_SPEEDBOOST;
// Reasons why we can't start a dodge or sprint