From: cloudwalk Date: Mon, 5 Oct 2020 18:03:43 +0000 (+0000) Subject: sv_user: Remove commented out dead code. X-Git-Url: http://git.xonotic.org/?a=commitdiff_plain;h=90438de3331f6c15526ad54d4c7fec1f4f0e8117;p=xonotic%2Fdarkplaces.git sv_user: Remove commented out dead code. git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12992 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/sv_user.c b/sv_user.c index be54fd3c..95f47224 100644 --- a/sv_user.c +++ b/sv_user.c @@ -621,16 +621,6 @@ void SV_PlayerPhysics (void) return; } - /* - // Player is (somehow) outside of the map, or flying, or noclipping - if (PRVM_serveredictfloat(host_client->edict, movetype) != MOVETYPE_NOCLIP && (PRVM_serveredictfloat(host_client->edict, movetype) == MOVETYPE_FLY || SV_TestEntityPosition (host_client->edict))) - //if (PRVM_serveredictfloat(host_client->edict, movetype) == MOVETYPE_NOCLIP || PRVM_serveredictfloat(host_client->edict, movetype) == MOVETYPE_FLY || SV_TestEntityPosition (host_client->edict)) - { - SV_FreeMove (); - return; - } - */ - // walk if ((PRVM_serveredictfloat(host_client->edict, waterlevel) >= 2) && (PRVM_serveredictfloat(host_client->edict, movetype) != MOVETYPE_NOCLIP)) {