From 5fcc96a0f2ed7392d5a12ad29889952b66bf0795 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Sun, 25 Nov 2018 00:38:04 +0100 Subject: [PATCH] - 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. --- src/p_sectors.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/p_sectors.cpp b/src/p_sectors.cpp index 1abb971b61..743b8dc3b7 100644 --- a/src/p_sectors.cpp +++ b/src/p_sectors.cpp @@ -2434,6 +2434,7 @@ void subsector_t::BuildPolyBSP() for (unsigned int i = 0; i < BSP->Subsectors.Size(); ++i) { BSP->Subsectors[i].sector = sector; + BSP->Subsectors[i].section = section; } }