mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-22 20:41:25 +00:00
OpenGL: FOF cutting fix
Fixes any FOF's with FF_SOLID not cutting each other.
This commit is contained in:
parent
8271b7feab
commit
bae7b5b2ac
1 changed files with 0 additions and 3 deletions
|
@ -1101,9 +1101,6 @@ static void HWR_SplitWall(sector_t *sector, wallVert3D *wallVerts, INT32 texnum,
|
||||||
if (cutflag == FF_CUTSOLIDS) // These are regular walls sent in from StoreWallRange, they shouldn't be cut from this
|
if (cutflag == FF_CUTSOLIDS) // These are regular walls sent in from StoreWallRange, they shouldn't be cut from this
|
||||||
solid = false;
|
solid = false;
|
||||||
|
|
||||||
if (cutflag & FF_SOLID) // these weren't being cut before anyway, although they probably should be in the right conditions
|
|
||||||
solid = false;
|
|
||||||
|
|
||||||
height = FIXED_TO_FLOAT(list[i].height);
|
height = FIXED_TO_FLOAT(list[i].height);
|
||||||
if (solid)
|
if (solid)
|
||||||
bheight = FIXED_TO_FLOAT(*list[i].caster->bottomheight);
|
bheight = FIXED_TO_FLOAT(*list[i].caster->bottomheight);
|
||||||
|
|
Loading…
Reference in a new issue