mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-14 08:30:50 +00:00
- 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:
parent
1b82e2078d
commit
5fcc96a0f2
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue