attempt at fixing software skywalls
This commit is contained in:
1 parent
1ab828d23c
commit
c78305f1f1
1 file changed
+8
@@ -1863,6 +1863,14 @@ 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
|
||||
|
||||
Reference in new issue
Block a user