- made the event manager an object so it can be instantiated multiple times.

This commit is contained in:
Christoph Oelckers 2019-02-02 10:46:34 +01:00
commit 484485f3cf
21 changed files with 257 additions and 246 deletions

View file

@ -282,8 +282,8 @@ static void MarkRoot()
Mark(StatusBar);
M_MarkMenus();
Mark(DIntermissionController::CurrentIntermission);
Mark(E_FirstEventHandler);
Mark(E_LastEventHandler);
Mark(eventManager.FirstEventHandler);
Mark(eventManager.LastEventHandler);
for (auto Level : AllLevels())
Level->Mark();