]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
sv_user: Remove commented out dead code.
authorcloudwalk <cloudwalk@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 5 Oct 2020 18:03:43 +0000 (18:03 +0000)
committercloudwalk <cloudwalk@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 5 Oct 2020 18:03:43 +0000 (18:03 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12992 d7cf8633-e32d-0410-b094-e92efae38249

sv_user.c

index be54fd3c3d8f3183d827b14313520e9f80501e1f..95f47224985200ed3eccca762a600b7005d42164 100644 (file)
--- 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))
        {