- 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
|
|
@ -654,7 +654,7 @@ bool player_t::Resurrect()
|
|||
|
||||
// player is now alive.
|
||||
// fire E_PlayerRespawned and start the ACS SCRIPT_Respawn.
|
||||
E_PlayerRespawned(pnum);
|
||||
eventManager.PlayerRespawned(pnum);
|
||||
//
|
||||
mo->Level->Behaviors.StartTypedScripts(SCRIPT_Respawn, mo, true);
|
||||
return true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue