summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Millwood <thebenmachine@gmail.com>2009-10-03 13:00:13 +0000
committerTim Angus <tim@ngus.net>2013-01-03 00:16:23 +0000
commit5a0f71c3fb583d0e065df9a1fe1831eab0d0d4e7 (patch)
tree108d5dbae0898340f2fceb1fb2c844f1a184e7f6
parente385cb197162269da855bba6c9fdce1b418b35bf (diff)
Fix crouch check on dodge (fixes #71)
-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 184d13a1..0b9ea7bd 100644
--- a/src/game/bg_pmove.c
+++ b/src/game/bg_pmove.c
@@ -925,7 +925,7 @@ static qboolean PM_CheckDodge( void )
// Reasons why we can't start a dodge or sprint
if( pm->ps->pm_type != PM_NORMAL || pm->ps->stats[ STAT_STAMINA ] < 0 ||
- ( pm->ps->pm_flags & PMF_CROUCH_HELD ) )
+ ( pm->ps->pm_flags & PMF_DUCKED ) )
return qfalse;
// Can't dodge forward