mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-14 08:31:23 +00:00
- fixed: clipping swimmable against non-swimmable translucent 3D-floors was broken due to an incorrect flag check.
This commit is contained in:
parent
452479e5aa
commit
c8810db5fe
1 changed files with 1 additions and 1 deletions
|
@ -1261,7 +1261,7 @@ void GLWall::ClipFFloors(seg_t * seg, F3DFloor * ffloor, sector_t * frontsector,
|
||||||
F3DFloor * rover=frontffloors[i];
|
F3DFloor * rover=frontffloors[i];
|
||||||
if (!(rover->flags&FF_EXISTS)) continue;
|
if (!(rover->flags&FF_EXISTS)) continue;
|
||||||
if (!(rover->flags&FF_RENDERSIDES)) 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_topleft;
|
||||||
fixed_t ff_topright;
|
fixed_t ff_topright;
|
||||||
|
|
Loading…
Reference in a new issue