Made the EventHandler class tree a bit more branchy. Now disallowing creation of Static* via EventHandler.Create.
This commit is contained in:
parent
a226337185
commit
35ec14f465
7 changed files with 127 additions and 69 deletions
|
|
@ -85,6 +85,7 @@
|
|||
#include "p_spec.h"
|
||||
#include "serializer.h"
|
||||
#include "virtual.h"
|
||||
#include "events.h"
|
||||
|
||||
#include "gi.h"
|
||||
|
||||
|
|
@ -655,6 +656,7 @@ void G_ChangeLevel(const char *levelname, int position, int flags, int nextSkill
|
|||
// [RH] Give scripts a chance to do something
|
||||
unloading = true;
|
||||
FBehavior::StaticStartTypedScripts (SCRIPT_Unloading, NULL, false, 0, true);
|
||||
E_MapUnloading();
|
||||
unloading = false;
|
||||
|
||||
STAT_ChangeLevel(nextlevel);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue