- refactored the thinker list.

This was an unorganized set of static members in DThinker but has now been regrouped into something more structured.
This commit is contained in:
Christoph Oelckers 2019-01-30 02:15:48 +01:00
commit 3b4ded5694
11 changed files with 508 additions and 470 deletions

View file

@ -2724,7 +2724,7 @@ void D_DoomMain (void)
// clean up game state
ST_Clear();
D_ErrorCleanup ();
DThinker::DestroyThinkersInList(STAT_STATIC);
Thinkers.DestroyThinkersInList(STAT_STATIC);
E_Shutdown(false);
P_FreeLevelData();