From 22fde390625e4dc6846b5c42b78a9d0d49cfd6b1 Mon Sep 17 00:00:00 2001 From: kp Date: Sun, 4 Aug 2024 15:40:03 -0500 Subject: [PATCH] I farted --- KP3Dii/src/KP3D_Map.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/KP3Dii/src/KP3D_Map.cpp b/KP3Dii/src/KP3D_Map.cpp index 711b432..77523e3 100644 --- a/KP3Dii/src/KP3D_Map.cpp +++ b/KP3Dii/src/KP3D_Map.cpp @@ -662,8 +662,6 @@ void Map::Rebuild(NormalGenType gen_normals) } // Now perform the process of "parenting" sectors; this essentially takes in our flat list of sectors and creates a hierarchy. - // Note: For better room-over-room support we should consider changing this to also consider floor/ceiling heights, otherwise - // it'll break. std::sort(sectors.begin(), sectors.end(), [](const auto& a, const auto& b) { return a->floor.base_height < b->ceiling.base_height && a->area < b->area; }); SanitizeSectors(); std::sort(sectors.begin(), sectors.end(), [](const auto& a, const auto& b) { return a->floor.base_height < b->ceiling.base_height && a->area < b->area; });