Implemented global EventHandlers in MAPINFO

This commit is contained in:
ZZYZX 2017-01-22 09:58:48 +02:00
commit efb1e5d33a
6 changed files with 47 additions and 31 deletions

View file

@ -54,6 +54,7 @@
#include "thingdef.h"
#include "d_player.h"
#include "doomerrors.h"
#include "events.h"
extern void LoadActors ();
extern void InitBotStuff();
@ -214,6 +215,9 @@ void PClassActor::StaticInit()
ClearStrifeTypes();
LoadActors ();
InitBotStuff();
// reinit GLOBAL static stuff from gameinfo, once classes are loaded.
E_InitStaticHandlers(false);
}
//==========================================================================