From a25ed3c80768fc2c85bdb7cc2d5781080ab62f40 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Mon, 15 Sep 2014 12:15:19 +0200 Subject: [PATCH] - fixed: inverted rendering for fuzzy things with light powerup was switched off due to change of render style. --- src/gl/scene/gl_sprite.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gl/scene/gl_sprite.cpp b/src/gl/scene/gl_sprite.cpp index 5d8995a34..833bc2f4e 100644 --- a/src/gl/scene/gl_sprite.cpp +++ b/src/gl/scene/gl_sprite.cpp @@ -808,7 +808,9 @@ void GLSprite::Process(AActor* thing,sector_t * sector) { // enhanced vision makes them more visible! trans=0.5f; + FRenderStyle rs = RenderStyle; RenderStyle = STYLE_Translucent; + RenderStyle.Flags = rs.Flags; // Flags must be preserved, at this point it can only be STYLEF_InvertSource } else if (thing->flags & MF_STEALTH) {