Removed World*Unsafe handlers (merged with WorldLoaded/WorldUnloading); Removed the concept of 'map-local static' handlers, static handlers are now only those that run globally.

This commit is contained in:
ZZYZX 2017-01-30 07:50:09 +02:00
commit 09ca1f610d
5 changed files with 72 additions and 31 deletions

View file

@ -1077,6 +1077,8 @@ void G_DoLoadLevel (int position, bool autosave)
E_InitStaticHandlers(true);
// unsafe world load
E_WorldLoadedUnsafe();
// regular world load (savegames are handled internally)
E_WorldLoaded();
P_DoDeferedScripts (); // [RH] Do script actions that were triggered on another map.
if (demoplayback || oldgs == GS_STARTUP || oldgs == GS_TITLELEVEL)