- 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

@ -532,6 +532,8 @@ static void PrepareSegs()
void InitRenderInfo()
{
CreateSections(level.sections);
PrepareSegs();
PrepareSectorData();
InitVertexData();