Implemented global EventHandlers in MAPINFO
This commit is contained in:
parent
ba4a74265c
commit
efb1e5d33a
6 changed files with 47 additions and 31 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
//==========================================================================
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue