From cdf7815cf7c4756f75f17744194545fddd39febf Mon Sep 17 00:00:00 2001 From: Spoike Date: Sun, 30 Mar 2014 09:17:19 +0000 Subject: [PATCH] git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4624 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- engine/client/renderer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/client/renderer.c b/engine/client/renderer.c index 5b0089e44..f5302929b 100644 --- a/engine/client/renderer.c +++ b/engine/client/renderer.c @@ -2282,7 +2282,7 @@ void R_SetFrustum (float projmat[16], float viewmat[16]) //do far plane //fog will logically not actually reach 0, though precision issues will force it. we cut off at an exponant of -500 - if (r_refdef.gfog_rgbd[3] + if (r_refdef.globalfog.density #ifdef TERRAIN && cl.worldmodel && cl.worldmodel->type == mod_heightmap #else