]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - sv_phys.c
326
[xonotic/darkplaces.git] / sv_phys.c
index 1b9a85285314429e4bedd863e7e1db02a53cecd0..bfd8e9d50cedf0f1701bb0b1ed5d4c3caf3ba9af 100644 (file)
--- a/sv_phys.c
+++ b/sv_phys.c
@@ -1092,7 +1092,7 @@ void SV_WalkMove (edict_t *ent)
                if (clip & 2 && sv_wallfriction.integer)
                        SV_WallFriction (ent, stepnormal);
        }
-       else if (!sv_gameplayfix_stepdown.integer || !oldonground || ((int)ent->v->flags & FL_ONGROUND) || ent->v->waterlevel >= 2)
+       else if (!sv_gameplayfix_stepdown.integer || !oldonground || start_velocity[2] > 0 || ((int)ent->v->flags & FL_ONGROUND) || ent->v->waterlevel >= 2)
                return;
 
        // move down