]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - sv_user.c
fix the jump-slide bug in the sv_gameplayfix_qwplayerphysics option
[xonotic/darkplaces.git] / sv_user.c
index cc76cd3152c2cb47df69218a04ab488322b71f7f..c95c6804ec00b01b46dc2231599838687a19e2b5 100644 (file)
--- a/sv_user.c
+++ b/sv_user.c
@@ -347,7 +347,7 @@ void SV_AirMove (void)
                // noclip
                VectorCopy (wishvel, host_client->edict->fields.server->velocity);
        }
-       else if (onground && (!sv_gameplayfix_qwplayerphysics.integer || !(host_client->edict->fields.server->button2 || !((int)host_client->edict->fields.server->flags & FL_JUMPRELEASED))))
+       else if (onground && (!sv_gameplayfix_qwplayerphysics.integer || !host_client->edict->fields.server->button2 || !((int)host_client->edict->fields.server->flags & FL_JUMPRELEASED)))
        {
                SV_UserFriction ();
                SV_Accelerate ();