diff --git a/src/hardware/hw_bsp.c b/src/hardware/hw_bsp.c index 0054269b2..6ce93b317 100644 --- a/src/hardware/hw_bsp.c +++ b/src/hardware/hw_bsp.c @@ -2886,6 +2886,11 @@ static void AdjustSegs(void) polyvertex_t sv1, sv2; // seg v1, v2 float distv1,distv2,tmp; + // Don't touch polyobject segs. We'll compensate + // for this when we go about drawing them. + if (lseg->polyseg) + continue; + line_t *line = lseg->linedef; if (!line) @@ -3015,6 +3020,11 @@ static void AdjustSegs(void) { lseg = &segs[j]; + // Don't touch polyobject segs. We'll compensate + // for this when we go about drawing them. + if (lseg->polyseg) + continue; + if (!(lseg->pv1 && lseg->pv2)) { CONS_Debug(DBG_RENDER, "Seg %i, not in any polygon.\n", j);