- fixed: sprites rendered as 'bright' should not be affected by dynamic lights.

This commit is contained in:
Christoph Oelckers 2014-10-23 10:54:26 +02:00
parent 618c23303f
commit 066e53ae4c

View file

@ -176,7 +176,7 @@ void GLSprite::Draw(int pass)
} }
if (RenderStyle.BlendOp!=STYLEOP_Shadow) if (RenderStyle.BlendOp!=STYLEOP_Shadow)
{ {
if (gl_lights && GLRenderer->mLightCount && !gl_fixedcolormap) if (gl_lights && GLRenderer->mLightCount && !gl_fixedcolormap && !fullbright)
{ {
gl_SetDynSpriteLight(gl_light_sprites ? actor : NULL, gl_light_particles ? particle : NULL); gl_SetDynSpriteLight(gl_light_sprites ? actor : NULL, gl_light_particles ? particle : NULL);
} }