- made the event manager an object so it can be instantiated multiple times.
This commit is contained in:
parent
8d83f03138
commit
484485f3cf
21 changed files with 257 additions and 246 deletions
|
|
@ -178,7 +178,7 @@ void DLightningThinker::LightningFlash ()
|
|||
Level->flags |= LEVEL_SWAPSKIES; // set alternate sky
|
||||
S_Sound (CHAN_AUTO, "world/thunder", 1.0, ATTN_NONE);
|
||||
// [ZZ] just in case
|
||||
E_WorldLightning();
|
||||
eventManager.WorldLightning();
|
||||
// start LIGHTNING scripts
|
||||
Level->Behaviors.StartTypedScripts (SCRIPT_Lightning, NULL, false); // [RH] Run lightning scripts
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue