fixed r_drawentities 0 which was forgetting to enlarge the farclip based on the world...
[xonotic/darkplaces.git] / 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];