- fixed: inverted rendering for fuzzy things with light powerup was switched off due to change of render style.

This commit is contained in:
Christoph Oelckers 2014-09-15 12:15:19 +02:00
parent 77c4533e4b
commit a25ed3c807
1 changed files with 2 additions and 0 deletions

View File

@ -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)
{