From 066e53ae4ca179b9200c94b323d5b90fa5868801 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Thu, 23 Oct 2014 10:54:26 +0200 Subject: [PATCH] - fixed: sprites rendered as 'bright' should not be affected by dynamic lights. --- src/gl/scene/gl_sprite.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gl/scene/gl_sprite.cpp b/src/gl/scene/gl_sprite.cpp index 833bc2f4ec..df6f37dd06 100644 --- a/src/gl/scene/gl_sprite.cpp +++ b/src/gl/scene/gl_sprite.cpp @@ -176,7 +176,7 @@ void GLSprite::Draw(int pass) } 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); }