forked from fte/fteqw
1
0
Fork 0

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4624 fc73d0e0-1445-4013-8a0c-d673dee63da5

This commit is contained in:
Spoike 2014-03-30 09:17:19 +00:00
parent 2e1a70e319
commit cdf7815cf7
1 changed files with 1 additions and 1 deletions

View File

@ -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