]> git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
fix the jump-slide bug in the sv_gameplayfix_qwplayerphysics option
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 3 Jul 2007 00:49:38 +0000 (00:49 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 3 Jul 2007 00:49:38 +0000 (00:49 +0000)
(I to fix this because some people like the feature, but others don't)

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7462 d7cf8633-e32d-0410-b094-e92efae38249

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 ();