From 90438de3331f6c15526ad54d4c7fec1f4f0e8117 Mon Sep 17 00:00:00 2001 From: cloudwalk Date: Mon, 5 Oct 2020 18:03:43 +0000 Subject: [PATCH 1/1] sv_user: Remove commented out dead code. git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12992 d7cf8633-e32d-0410-b094-e92efae38249 --- sv_user.c | 10 ---------- 1 file changed, 10 deletions(-) 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)) { -- 2.39.2