From 87d81656e1059e5471bc82419463914be697f6c2 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Wed, 3 Jun 2020 21:35:09 +0200 Subject: [PATCH] - fixed: the 3D floor processing code in the renderer did not restore the render style after finishing. Normally this won't be noticable, the only exception is if the last processed 3D floor had additive translucency and colored fog - this case is special because for additive rendering the fog color needs to be disabled. --- src/rendering/hwrenderer/scene/hw_walls.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/rendering/hwrenderer/scene/hw_walls.cpp b/src/rendering/hwrenderer/scene/hw_walls.cpp index 4a2d0ab92..78c532333 100644 --- a/src/rendering/hwrenderer/scene/hw_walls.cpp +++ b/src/rendering/hwrenderer/scene/hw_walls.cpp @@ -1641,6 +1641,7 @@ void HWWall::BuildFFBlock(HWDrawInfo *di, seg_t * seg, F3DFloor * rover, lightlevel = savelight; Colormap = savecolor; flags &= ~HWF_CLAMPY; + RenderStyle = STYLE_Normal; }