Added EventHandlers in Map section of MAPINFO

This commit is contained in:
ZZYZX 2017-01-22 09:36:39 +02:00
commit 76b99da4b3
5 changed files with 85 additions and 6 deletions

View file

@ -1066,6 +1066,8 @@ void G_DoLoadLevel (int position, bool autosave)
}
}
StatusBar->AttachToPlayer (&players[consoleplayer]);
// [ZZ] init per-map static handlers
E_InitStaticHandlers(true);
P_DoDeferedScripts (); // [RH] Do script actions that were triggered on another map.
if (demoplayback || oldgs == GS_STARTUP || oldgs == GS_TITLELEVEL)