- fixed: When extracting a MiniBSP for polyobject rendering, the parent subsector must copy all its relevant properties to the children.

The sections pointer was not copied here.
This commit is contained in:
Christoph Oelckers 2018-11-25 00:38:04 +01:00
parent 1b82e2078d
commit 5fcc96a0f2

View file

@ -2434,6 +2434,7 @@ void subsector_t::BuildPolyBSP()
for (unsigned int i = 0; i < BSP->Subsectors.Size(); ++i) for (unsigned int i = 0; i < BSP->Subsectors.Size(); ++i)
{ {
BSP->Subsectors[i].sector = sector; BSP->Subsectors[i].sector = sector;
BSP->Subsectors[i].section = section;
} }
} }