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; });