diff options
author | Strangerke | 2013-03-24 22:56:06 +0100 |
---|---|---|
committer | Strangerke | 2013-03-24 22:56:06 +0100 |
commit | ac338c3517d85156e83884164d378c3bf76851e5 (patch) | |
tree | 1a2e3df43d79fae887b130a57d95c6c4ce4ff0af /engines/hopkins/graphics.cpp | |
parent | 57abce19b1da832f1f108f6aff22e40649572f97 (diff) | |
download | scummvm-rg350-ac338c3517d85156e83884164d378c3bf76851e5.tar.gz scummvm-rg350-ac338c3517d85156e83884164d378c3bf76851e5.tar.bz2 scummvm-rg350-ac338c3517d85156e83884164d378c3bf76851e5.zip |
HOPKINS: Some more refactoring in Globals
Diffstat (limited to 'engines/hopkins/graphics.cpp')
-rw-r--r-- | engines/hopkins/graphics.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/hopkins/graphics.cpp b/engines/hopkins/graphics.cpp index 5c65e59c5e..14f23ad06a 100644 --- a/engines/hopkins/graphics.cpp +++ b/engines/hopkins/graphics.cpp @@ -310,7 +310,7 @@ void GraphicsManager::loadPCX640(byte *surface, const Common::String &file, byte // Load PCX from within the PIC resource if (!f.open("PIC.RES")) error("Error opening PIC.RES."); - f.seek(_vm->_globals->_catalogPos); + f.seek(_vm->_fileManager->_catalogPos); } else { // Load stand alone PCX file if (!f.open(file)) @@ -1074,7 +1074,7 @@ void GraphicsManager::endDisplayBob() { } for (int idx = 1; idx <= 29; ++idx) { - _vm->_globals->_lockedAnims[idx]._enableFl = false; + _vm->_objectsManager->_lockedAnims[idx]._enableFl = false; } for (int idx = 1; idx <= 20; ++idx) { |