We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent df724a8 commit 40aef53Copy full SHA for 40aef53
src/rendering/hwrenderer/scene/hw_walls.cpp
@@ -85,7 +85,7 @@ void HWWall::RenderWall(FRenderState &state, int textured)
85
{
86
bool ditherT = (type == RENDERWALL_BOTTOM) && (seg->sidedef->Flags & WALLF_DITHERTRANS_BOTTOM);
87
ditherT |= (type == RENDERWALL_TOP) && (seg->sidedef->Flags & WALLF_DITHERTRANS_TOP);
88
- ditherT |= seg->sidedef->Flags & WALLF_DITHERTRANS_MID;
+ ditherT = ditherT || (seg->sidedef->Flags & WALLF_DITHERTRANS_MID);
89
if (ditherT)
90
91
state.SetEffect(EFF_DITHERTRANS);
0 commit comments