Revert "attempt at fixing software skywalls"

This reverts commit c78305f1f1.
This commit is contained in:
Alug committed 2025-06-08 23:47:44 +02:00
1 parent 961c0eb970
commit 5bf635e04c
1 file changed
-8
-8
View File
@@ -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