- automatically create sections and store them with the level data.

- added subsector indexing to sections.

This is needed for finding a section from a point.
This commit is contained in:
Christoph Oelckers 2018-11-04 22:19:11 +01:00
commit 0deb388a75
7 changed files with 44 additions and 10 deletions

View file

@ -3559,6 +3559,7 @@ void P_FreeLevelData ()
FBehavior::StaticUnloadModules ();
level.sections.Clear();
level.segs.Clear();
level.sectors.Clear();
level.lines.Clear();