From ffa069205fa94de5bac2a8bbbe5f891bff2fd79b Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Thu, 25 Dec 2014 18:30:34 +0100 Subject: [PATCH] - fixed: For fullbright sprites, a weapon's extra light must be ignored because it can be negative. --- 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 89ff9cdb9..e8d919a28 100644 --- a/src/gl/scene/gl_sprite.cpp +++ b/src/gl/scene/gl_sprite.cpp @@ -118,7 +118,7 @@ void GLSprite::Draw(int pass) bool additivefog = false; bool foglayer = false; - int rel = getExtraLight(); + int rel = fullbright? 0 : getExtraLight(); if (pass==GLPASS_TRANSLUCENT) {