- fixed: clipping swimmable against non-swimmable translucent 3D-floors was broken due to an incorrect flag check.

This commit is contained in:
Christoph Oelckers 2015-12-24 16:34:00 +01:00
parent 452479e5aa
commit c8810db5fe

View file

@ -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;