- removed most global references to the tag manager by routing most access to FLevelocals.

This commit is contained in:
Christoph Oelckers 2019-01-24 01:40:09 +01:00
commit 7e9340f3b7
33 changed files with 291 additions and 262 deletions

View file

@ -275,6 +275,7 @@ void FLevelLocals::ClearLevelData()
}
ClearPortals();
tagManager.Clear();
SpotState = nullptr;
ACSThinker = nullptr;
FraggleScriptThinker = nullptr;
@ -341,7 +342,6 @@ void P_FreeLevelData ()
level.ClearAllSubsectorLinks(); // can't be done as part of the polyobj deletion process.
SN_StopAllSequences ();
DThinker::DestroyAllThinkers ();
tagManager.Clear();
level.Behaviors.UnloadModules ();