mirror of
https://github.com/ZDoom/ZDRay.git
synced 2025-02-03 05:01:00 +00:00
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:
parent
f87e952373
commit
4d40108906
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue