diff options
author | Torbjörn Andersson | 2003-11-16 14:18:29 +0000 |
---|---|---|
committer | Torbjörn Andersson | 2003-11-16 14:18:29 +0000 |
commit | fa2b8ba8de31f5659c675b507553a2b0a1ebd841 (patch) | |
tree | 52841e821b3283a0ff9430cf8be0cc273208f6e6 /sword2/logic.h | |
parent | ab066c41e0a42320137bc6cb79d77720f932af0e (diff) | |
download | scummvm-rg350-fa2b8ba8de31f5659c675b507553a2b0a1ebd841.tar.gz scummvm-rg350-fa2b8ba8de31f5659c675b507553a2b0a1ebd841.tar.bz2 scummvm-rg350-fa2b8ba8de31f5659c675b507553a2b0a1ebd841.zip |
More cleanup. I've eliminated all the temporary global variables I've added
over the past few weeks, except for g_sword2. (Of course, this doesn't
necessarily make the code any prettier, but we can work on that later.)
svn-id: r11309
Diffstat (limited to 'sword2/logic.h')
-rw-r--r-- | sword2/logic.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sword2/logic.h b/sword2/logic.h index 0b4a99433b..2ed33dc45b 100644 --- a/sword2/logic.h +++ b/sword2/logic.h @@ -22,7 +22,6 @@ #ifndef _LOGIC #define _LOGIC -#include "sword2/driver/driver96.h" #include "sword2/header.h" #include "sword2/memory.h" #include "sword2/router.h" @@ -189,7 +188,7 @@ public: memset(_subjectList, 0, sizeof(_subjectList)); memset(_eventList, 0, sizeof(_eventList)); memset(_syncList, 0, sizeof(_syncList)); - _router = new Router(); + _router = new Router(_vm); setupOpcodes(); initStartMenu(); } |