diff options
author | Max Horn | 2009-10-19 22:51:37 +0000 |
---|---|---|
committer | Max Horn | 2009-10-19 22:51:37 +0000 |
commit | 03953bf2925240401677cbda428209fd4b49c54a (patch) | |
tree | 88aae68e20a24de12f45d8c55e44cbbda40befb3 /engines/agi/op_dbg.cpp | |
parent | ebff7dbb1a5d1846a91f8862c0f8e655553e37ad (diff) | |
download | scummvm-rg350-03953bf2925240401677cbda428209fd4b49c54a.tar.gz scummvm-rg350-03953bf2925240401677cbda428209fd4b49c54a.tar.bz2 scummvm-rg350-03953bf2925240401677cbda428209fd4b49c54a.zip |
AGI: Remove some global vars
svn-id: r45255
Diffstat (limited to 'engines/agi/op_dbg.cpp')
-rw-r--r-- | engines/agi/op_dbg.cpp | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/engines/agi/op_dbg.cpp b/engines/agi/op_dbg.cpp index 7ed8e2bd17..be10f6ee75 100644 --- a/engines/agi/op_dbg.cpp +++ b/engines/agi/op_dbg.cpp @@ -28,11 +28,8 @@ namespace Agi { -static AgiEngine *g_agi; -#define game g_agi->_game - -#define ip (game.logics[lognum].cIP) -#define code (game.logics[lognum].data) +#define ip (_game.logics[lognum].cIP) +#define code (_game.logics[lognum].data) #ifdef _L #undef _L @@ -274,7 +271,6 @@ struct AgiLogicnames logicNamesCmd[] = { }; void AgiEngine::debugConsole(int lognum, int mode, const char *str) { - g_agi = this; AgiLogicnames *x; uint8 a, c, z; |