From 6c0f02c9dcb590950b22f8d56e60ded530b6a18a Mon Sep 17 00:00:00 2001 From: Mikko Tiusanen Date: Sat, 19 Jul 2014 19:52:13 +0300 Subject: Fixed swimming up/down for aliens. --- src/game/bg_pmove.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/game/bg_pmove.c b/src/game/bg_pmove.c index 9fad4f4..a50d781 100644 --- a/src/game/bg_pmove.c +++ b/src/game/bg_pmove.c @@ -507,9 +507,11 @@ static float PM_CmdScale( usercmd_t *cmd ) if( BG_Class( pm->ps->stats[ STAT_CLASS ] )->jumpMagnitude == 0.0f ) cmd->upmove = 0; + /* Commented out as the following seems to cause swimming up/down issues for aliens //prevent speed distortions for non ducking classes if( !( pm->ps->pm_flags & PMF_DUCKED ) && pm->ps->pm_type != PM_JETPACK && cmd->upmove < 0 ) cmd->upmove = 0; + */ } max = abs( cmd->forwardmove ); -- cgit