mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-23 04:42:47 +00:00
Use Tags_Compare wrapper in the OpenGL renderer, as well.
This commit is contained in:
parent
fe4ab5d29f
commit
64e2e7c12f
1 changed files with 3 additions and 3 deletions
|
@ -1862,7 +1862,7 @@ static void HWR_StoreWallRange(double startfrac, double endfrac)
|
|||
|
||||
//Hurdler: 3d-floors test
|
||||
#ifdef R_FAKEFLOORS
|
||||
if (gr_frontsector && gr_backsector && gr_frontsector->tag != gr_backsector->tag && (gr_backsector->ffloors || gr_frontsector->ffloors))
|
||||
if (gr_frontsector && gr_backsector && !Tags_Compare(&gr_frontsector->tags, &gr_backsector->tags) && (gr_backsector->ffloors || gr_frontsector->ffloors))
|
||||
{
|
||||
ffloor_t * rover;
|
||||
fixed_t highcut = 0, lowcut = 0;
|
||||
|
@ -2662,7 +2662,7 @@ static void HWR_AddLine(seg_t * line)
|
|||
#endif
|
||||
!line->sidedef->midtexture
|
||||
&& ((!gr_frontsector->ffloors && !gr_backsector->ffloors)
|
||||
|| (gr_frontsector->tag == gr_backsector->tag)))
|
||||
|| Tags_Compare(&gr_frontsector->tags, &gr_backsector->tags)))
|
||||
return; // line is empty, don't even bother
|
||||
// treat like wide open window instead
|
||||
HWR_ProcessSeg(); // Doesn't need arguments because they're defined globally :D
|
||||
|
@ -2704,7 +2704,7 @@ static void HWR_AddLine(seg_t * line)
|
|||
#endif
|
||||
!line->sidedef->midtexture
|
||||
&& ((!gr_frontsector->ffloors && !gr_backsector->ffloors)
|
||||
|| (gr_frontsector->tag == gr_backsector->tag)))
|
||||
|| Tags_Compare(&gr_frontsector->tags, &gr_backsector->tags)))
|
||||
return; // line is empty, don't even bother
|
||||
|
||||
goto clippass; // treat like wide open window instead
|
||||
|
|
Loading…
Reference in a new issue