- fixed incomplete commit.

I have no idea where the rest of this stuff went...
This commit is contained in:
Christoph Oelckers 2018-12-30 08:22:34 +01:00
commit 65b01bd16d
7 changed files with 14 additions and 11 deletions

View file

@ -3134,7 +3134,7 @@ void MapLoader::LoadLevel(MapData *map, const char *lumpname, int position)
for (auto & p : Level->bodyque)
p = nullptr;
CreateSections(Level->sections);
CreateSections(Level);
// [RH] Spawn slope creating things first.
SpawnSlopeMakers(&MapThingsConverted[0], &MapThingsConverted[MapThingsConverted.Size()], oldvertextable);
@ -3184,7 +3184,7 @@ void MapLoader::LoadLevel(MapData *map, const char *lumpname, int position)
}
SWRenderer->SetColormap(); //The SW renderer needs to do some special setup for the level's default colormap.
InitPortalGroups();
InitPortalGroups(Level);
P_InitHealthGroups();
if (reloop) LoopSidedefs(false);