mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-15 00:51:24 +00:00
- fixed: For fullbright sprites, a weapon's extra light must be ignored because it can be negative.
This commit is contained in:
parent
58a3b86813
commit
ffa069205f
1 changed files with 1 additions and 1 deletions
|
@ -118,7 +118,7 @@ void GLSprite::Draw(int pass)
|
||||||
|
|
||||||
bool additivefog = false;
|
bool additivefog = false;
|
||||||
bool foglayer = false;
|
bool foglayer = false;
|
||||||
int rel = getExtraLight();
|
int rel = fullbright? 0 : getExtraLight();
|
||||||
|
|
||||||
if (pass==GLPASS_TRANSLUCENT)
|
if (pass==GLPASS_TRANSLUCENT)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue