implemented sv_gameplayfix_qwplayerphysics
[xonotic/darkplaces.git] / sv_user.c
index 4d53cfa..bf13b1f 100644 (file)
--- a/sv_user.c
+++ b/sv_user.c
@@ -355,7 +355,7 @@ void SV_AirMove (void)
                // noclip
                VectorCopy (wishvel, host_client->edict->fields.server->velocity);
        }
-       else if ( onground )
+       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 ();