Fix vertexlighting and gridlighting being too dark when using floodlight and bounce (stop floodlighting being re-applied to lightmaps with each bounce stage)

This commit is contained in:
jal 2010-06-14 19:50:45 +02:00
parent ff8feb8f31
commit 1e42a4f095

View File

@ -2359,7 +2359,8 @@ void IlluminateRawLightmap( int rawLightmapNum )
FreeTraceLights( &trace );
/* floodlight pass */
FloodlightIlluminateLightmap(lm);
if( floodlighty )
FloodlightIlluminateLightmap(lm);
if (debugnormals)
{