From c8810db5fe7b8ded8bcbf257d23f77ffaa10653b Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Thu, 24 Dec 2015 16:34:00 +0100 Subject: [PATCH] - fixed: clipping swimmable against non-swimmable translucent 3D-floors was broken due to an incorrect flag check. --- src/gl/scene/gl_walls.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gl/scene/gl_walls.cpp b/src/gl/scene/gl_walls.cpp index b5317dc2a..9856f1d02 100644 --- a/src/gl/scene/gl_walls.cpp +++ b/src/gl/scene/gl_walls.cpp @@ -1261,7 +1261,7 @@ void GLWall::ClipFFloors(seg_t * seg, F3DFloor * ffloor, sector_t * frontsector, F3DFloor * rover=frontffloors[i]; if (!(rover->flags&FF_EXISTS)) continue; if (!(rover->flags&FF_RENDERSIDES)) continue; - if ((rover->flags&flags)!=flags) continue; + if ((rover->flags&(FF_SWIMMABLE|FF_TRANSLUCENT))!=flags) continue; fixed_t ff_topleft; fixed_t ff_topright;