- Static NewGame events now fire before loading a map, and normal NewGame events fire after registering per-map handlers and before all other events.

- Static event handlers now unregister after per-map handlers.
- All event handlers now unregister in reverse order.
This commit is contained in:
player701 2018-10-31 10:15:56 +03:00 committed by Christoph Oelckers
commit 04ae32f6f9
7 changed files with 33 additions and 21 deletions

View file

@ -507,7 +507,7 @@ void G_ChangeLevel(const char *levelname, int position, int flags, int nextSkill
void G_StartTravel ();
int G_FinishTravel ();
void G_DoLoadLevel (int position, bool autosave);
void G_DoLoadLevel (int position, bool autosave, bool newGame);
void G_InitLevelLocals (void);