Fix polyobj planes ending up in the level mesh
This commit is contained in:
parent
4ca2ffd58e
commit
4ae767cc5a
2 changed files with 2 additions and 2 deletions
|
|
@ -136,6 +136,8 @@ void DoomLevelSubmesh::CreateStaticSurfaces(FLevelLocals& doomMap)
|
|||
for (unsigned int i = 0; i < doomMap.sectors.Size(); i++)
|
||||
{
|
||||
sector_t* sector = &doomMap.sectors[i];
|
||||
if (sector->subsectors[0]->flags & SSECF_POLYORG)
|
||||
continue;
|
||||
for (FSection& section : doomMap.sections.SectionsForSector(i))
|
||||
{
|
||||
int sectionIndex = doomMap.sections.SectionIndex(§ion);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue