summaryrefslogtreecommitdiff
path: root/src/game/bg_pmove.c
diff options
context:
space:
mode:
authorMikko Tiusanen <ams@daug.net>2014-07-19 19:52:13 +0300
committerMikko Tiusanen <ams@daug.net>2014-07-19 19:52:13 +0300
commit6c0f02c9dcb590950b22f8d56e60ded530b6a18a (patch)
tree94e1c89260de11fcc7968db7339a63a515d024ae /src/game/bg_pmove.c
parent1443bb9fe3bfd7df935379c80b399b0425e384e8 (diff)
Fixed swimming up/down for aliens.
Diffstat (limited to 'src/game/bg_pmove.c')
-rw-r--r--src/game/bg_pmove.c2
1 files changed, 2 insertions, 0 deletions
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 );