Made the EventHandler class tree a bit more branchy. Now disallowing creation of Static* via EventHandler.Create.

This commit is contained in:
ZZYZX 2017-01-22 08:56:57 +02:00
commit 35ec14f465
7 changed files with 127 additions and 69 deletions

View file

@ -39,6 +39,7 @@
#include "d_event.h"
#include "g_level.h"
#include "gstrings.h"
#include "events.h"
#include "i_system.h"
#include "m_argv.h"
@ -1442,6 +1443,8 @@ void P_SpawnSpecials (void)
break;
}
}
// [ZZ] Loading event hook
E_MapLoaded();
// [RH] Start running any open scripts on this map
FBehavior::StaticStartTypedScripts (SCRIPT_Open, NULL, false);
}