Make global symbols survive GC runs

- The global symbol table was never marked by the GC, so anything pointed
  only by it was fair game to disappear.
- Don't clear the global symbol table during DECORATE parsing. Junk in
  there should be considered constant after initialization.
This commit is contained in:
Randy Heit 2013-10-29 21:27:22 -05:00
commit 6c7788d2ad
2 changed files with 2 additions and 1 deletions

View file

@ -425,7 +425,6 @@ void LoadActors ()
timer.Reset(); timer.Clock();
ActorDamageFuncs.Clear();
GlobalSymbols.ReleaseSymbols();
FScriptPosition::ResetErrorCounter();
InitThingdef();
lastlump = 0;