I farted
This commit is contained in:
parent
844a5d94a3
commit
22fde39062
1 changed files with 0 additions and 2 deletions
|
@ -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; });
|
||||
|
|
Loading…
Reference in a new issue