Almost forgot: WorldTick hook, since ZScript doesn't have delays
This commit is contained in:
parent
9a8a93fe51
commit
066b22af0a
4 changed files with 22 additions and 41 deletions
|
|
@ -36,6 +36,7 @@
|
|||
#include "r_utility.h"
|
||||
#include "p_spec.h"
|
||||
#include "g_levellocals.h"
|
||||
#include "events.h"
|
||||
|
||||
extern gamestate_t wipegamestate;
|
||||
|
||||
|
|
@ -125,6 +126,8 @@ void P_Ticker (void)
|
|||
/*Added by MC: Freeze mode.*/!(bglobal.freeze && players[i].Bot != NULL))
|
||||
P_PlayerThink (&players[i]);
|
||||
|
||||
// [ZZ] call the WorldTick hook
|
||||
E_WorldTick();
|
||||
StatusBar->Tick (); // [RH] moved this here
|
||||
level.Tick (); // [RH] let the level tick
|
||||
DThinker::RunThinkers ();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue