Fix top side textures not counting towards sky

I checked how GZDoom and chocolate Doom behave and it turns out that the top texture is irrelevant
but the bottom one is relevant
This commit is contained in:
RaveYard 2022-06-24 21:12:59 +02:00
parent f87e952373
commit 4d40108906

View file

@ -633,7 +633,7 @@ void LevelMesh::CreateSideSurfaces(FLevel &doomMap, IntSideDef *side)
if (front->skyCeiling && back->skyCeiling)
{
if (front->data.ceilingheight != back->data.ceilingheight && side->toptexture[0] == '-')
if (front->data.ceilingheight != back->data.ceilingheight)
{
bSky = true;
}