From: havoc Date: Tue, 3 Jul 2007 00:49:38 +0000 (+0000) Subject: fix the jump-slide bug in the sv_gameplayfix_qwplayerphysics option X-Git-Tag: xonotic-v0.1.0preview~3002 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=d4e6219a646a82ebc0313830707de747f0fe2139;p=xonotic%2Fdarkplaces.git fix the jump-slide bug in the sv_gameplayfix_qwplayerphysics option (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 --- diff --git a/sv_user.c b/sv_user.c index cc76cd31..c95c6804 100644 --- 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 ();