diff --git a/src/hardware/hw_main.c b/src/hardware/hw_main.c index 98b736b30..219bc905e 100644 --- a/src/hardware/hw_main.c +++ b/src/hardware/hw_main.c @@ -1627,6 +1627,9 @@ static void HWR_ProcessSeg(void) // Sort of like GLWall::Process in GZDoom continue; if (*rover->topheight < lowcut || *rover->bottomheight > highcut) continue; + if (Tag_Find(&gl_frontsector->tags, rover->master->args[0])) // Skip FOF if on both sectors by checking arg0. Hacky but it works. + continue; + texnum = R_GetTextureNum(sides[rover->master->sidenum[0]].midtexture); @@ -1761,6 +1764,8 @@ static void HWR_ProcessSeg(void) // Sort of like GLWall::Process in GZDoom continue; if (*rover->topheight < lowcut || *rover->bottomheight > highcut) continue; + if (Tag_Find(&gl_backsector->tags, rover->master->args[0])) // Skip FOF if on both sectors by checking arg0. Hacky but it works. + continue; texnum = R_GetTextureNum(sides[rover->master->sidenum[0]].midtexture);