mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-15 09:11:48 +00:00
Another thing that probably needed to check for slopes
This commit is contained in:
parent
ef832dd8b8
commit
ee00da6a74
1 changed files with 5 additions and 0 deletions
|
@ -2032,8 +2032,13 @@ void R_StoreWallRange(INT32 start, INT32 stop)
|
||||||
markceiling = false;
|
markceiling = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef ESLOPE
|
||||||
|
if ((worldhigh <= worldbottom && worldhighslope <= worldbottomslope)
|
||||||
|
|| (worldlow >= worldtop && worldlowslope >= worldtopslope))
|
||||||
|
#else
|
||||||
if (backsector->ceilingheight <= frontsector->floorheight ||
|
if (backsector->ceilingheight <= frontsector->floorheight ||
|
||||||
backsector->floorheight >= frontsector->ceilingheight)
|
backsector->floorheight >= frontsector->ceilingheight)
|
||||||
|
#endif
|
||||||
{
|
{
|
||||||
// closed door
|
// closed door
|
||||||
markceiling = markfloor = true;
|
markceiling = markfloor = true;
|
||||||
|
|
Loading…
Reference in a new issue