summaryrefslogtreecommitdiff
path: root/src/game
diff options
context:
space:
mode:
authorRoman Tetelman <kevlarman@gmail.com>2009-10-03 12:25:29 +0000
committerTim Angus <tim@ngus.net>2013-01-03 00:15:56 +0000
commit12e5010c825c09e377bc6bffd9ae68a35a0f8405 (patch)
tree4f5f7298b5bab29220e49c6ed473b5848b2ae912 /src/game
parent128465097ee6fbba8670ccb27a40dc1074a3ea95 (diff)
* humans can no longer bunny hop right after dodging
Diffstat (limited to 'src/game')
-rw-r--r--src/game/bg_pmove.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/game/bg_pmove.c b/src/game/bg_pmove.c
index b16f11c4..9ba34a85 100644
--- a/src/game/bg_pmove.c
+++ b/src/game/bg_pmove.c
@@ -774,6 +774,11 @@ static qboolean PM_CheckJump( void )
( pm->ps->stats[ STAT_STAMINA ] < 0 ) )
return qfalse;
+ //no bunny hopping off a dodge
+ if( pm->ps->stats[ STAT_TEAM ] == TEAM_HUMANS &&
+ pm->ps->pm_time )
+ return qfalse;
+
if( pm->ps->pm_flags & PMF_RESPAWNED )
return qfalse; // don't allow jump until all buttons are up