From 5bf635e04c21fa036a71d50c4f52122cc6b3c091 Mon Sep 17 00:00:00 2001 From: Alug Date: Sun, 8 Jun 2025 23:47:44 +0200 Subject: [PATCH] Revert "attempt at fixing software skywalls" This reverts commit c78305f1f1eb4e75fb6d0424fbab48821f26511b. --- src/r_segs.cpp | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/r_segs.cpp b/src/r_segs.cpp index eccf094fc..1102de672 100644 --- a/src/r_segs.cpp +++ b/src/r_segs.cpp @@ -1859,14 +1859,6 @@ void R_StoreWallRange(INT32 start, INT32 stop) worldlow -= viewz; worldlowslope -= viewz; - if (frontsector->ceilingpic != skyflatnum - && backsector->ceilingpic == skyflatnum) - { - if ((worldhigh <= worldtop && worldhighslope <= worldtopslope) // Assuming ESLOPE is always on with my changes - && (worldhigh != worldtop || worldhighslope != worldtopslope)) - worldtop = worldhigh; - } - // hack to allow height changes in outdoor areas // This is what gets rid of the upper textures if there should be sky if (frontsector->ceilingpic == skyflatnum