From 0c6d6887515e3dea5c81b2b6211010169b5a8c1b Mon Sep 17 00:00:00 2001 From: Spoike Date: Thu, 30 Sep 2004 22:48:09 +0000 Subject: [PATCH] removed a pointless if statement. git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@272 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- engine/gl/gl_rsurf.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/engine/gl/gl_rsurf.c b/engine/gl/gl_rsurf.c index 09070bed3..ef8fc860e 100644 --- a/engine/gl/gl_rsurf.c +++ b/engine/gl/gl_rsurf.c @@ -3481,8 +3481,7 @@ void GL_BuildLightmaps (void) } GL_CreateSurfaceLightmap (m->surfaces + i); - if (m->surfaces[i].texinfo->texture->parttype>=0) - R_EmitSkyEffectTris(m, &m->surfaces[i]); + R_EmitSkyEffectTris(m, &m->surfaces[i]); if ( m->surfaces[i].flags & SURF_DRAWTURB ) continue; if ( m->surfaces[i].flags & SURF_DRAWSKY )