fixed r_drawentities 0 which was forgetting to enlarge the farclip based on the world...
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Wed, 7 Aug 2002 20:31:56 +0000 (20:31 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Wed, 7 Aug 2002 20:31:56 +0000 (20:31 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@2217 d7cf8633-e32d-0410-b094-e92efae38249

gl_rmain.c

index 3c20a454da7cb53a66988375a48fd43b87d3acf4..3ccc5a77e3928341b1a1279ec62b9a323ba0725a 100644 (file)
@@ -364,11 +364,11 @@ static void R_MarkEntities (void)
        int i;
        vec3_t v;
 
+       R_FarClip_Box(cl.worldmodel->normalmins, cl.worldmodel->normalmaxs);
+
        if (!r_drawentities.integer)
                return;
 
-       R_FarClip_Box(cl.worldmodel->normalmins, cl.worldmodel->normalmaxs);
-
        for (i = 0;i < r_refdef.numentities;i++)
        {
                currentrenderentity = r_refdef.entities[i];