From: divverent Date: Sat, 6 Dec 2008 20:59:33 +0000 (+0000) Subject: fix typo X-Git-Tag: xonotic-v0.1.0preview~2019 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=2af2aac721ea21992f0f3662aa00abfac790dc00;p=xonotic%2Fdarkplaces.git fix typo git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8571 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/gl_rmain.c b/gl_rmain.c index 701552eb..4bdefc83 100644 --- a/gl_rmain.c +++ b/gl_rmain.c @@ -6582,7 +6582,7 @@ static void R_ProcessTextureSurfaceList(int texturenumsurfaces, msurface_t **tex RSurf_DrawBatch_GL11_ApplyAmbient(texturenumsurfaces, texturesurfacelist); RSurf_DrawBatch_GL11_ApplyColor(texturenumsurfaces, texturesurfacelist, c[0], c[1], c[2], c[3]); - if ((rsurface.texture->currentmaterialflags & MATERIALFLAG_MODELLIGHT) && rsurface.texture->normal3f) + if ((rsurface.texture->currentmaterialflags & MATERIALFLAG_MODELLIGHT) && rsurface.normal3f) { r_refdef.lightmapintensity = 1; RSurf_DrawBatch_GL11_VertexShade(texturenumsurfaces, texturesurfacelist, c[0], c[1], c[2], c[3], false, false);