From 12e5010c825c09e377bc6bffd9ae68a35a0f8405 Mon Sep 17 00:00:00 2001 From: Roman Tetelman Date: Sat, 3 Oct 2009 12:25:29 +0000 Subject: * humans can no longer bunny hop right after dodging --- src/game/bg_pmove.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/game') 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 -- cgit