mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-14 08:31:23 +00:00
- fixed: inverted rendering for fuzzy things with light powerup was switched off due to change of render style.
This commit is contained in:
parent
77c4533e4b
commit
a25ed3c807
1 changed files with 2 additions and 0 deletions
|
@ -808,7 +808,9 @@ void GLSprite::Process(AActor* thing,sector_t * sector)
|
||||||
{
|
{
|
||||||
// enhanced vision makes them more visible!
|
// enhanced vision makes them more visible!
|
||||||
trans=0.5f;
|
trans=0.5f;
|
||||||
|
FRenderStyle rs = RenderStyle;
|
||||||
RenderStyle = STYLE_Translucent;
|
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)
|
else if (thing->flags & MF_STEALTH)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue