From 6adff55b5d1b83dd08596bc45f33f0edb7991587 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Sun, 17 Jun 2018 07:57:29 +0200 Subject: [PATCH] - fixed typo in screen blend rendering. --- src/v_draw.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/v_draw.cpp b/src/v_draw.cpp index d1525d686b..d47d1df90d 100644 --- a/src/v_draw.cpp +++ b/src/v_draw.cpp @@ -1405,7 +1405,7 @@ void DFrameBuffer::DrawBlend(sector_t * viewsector) V_AddBlend(blendv.r / 255.f, blendv.g / 255.f, blendv.b / 255.f, cnt / 255.0f, blend); } } - else if (player && player->fixedlightlevel != -1 && player->fixedcolormap != NOFIXEDCOLORMAP) + else if (player && player->fixedlightlevel != -1 && player->fixedcolormap == NOFIXEDCOLORMAP) { // Draw fixedlightlevel effects as a 2D overlay. The hardware renderer just processes such a scene fullbright without any lighting. auto torchtype = PClass::FindActor(NAME_PowerTorch);