aboutsummaryrefslogtreecommitdiff
path: root/engines/hopkins/dialogs.cpp
diff options
context:
space:
mode:
authorStrangerke2013-02-22 10:36:54 +0100
committerStrangerke2013-02-22 10:36:54 +0100
commit577f904055a1f75fe265b7a65e9de0dee1b39ac2 (patch)
tree05be3beaa7725d300d22e92885c118f6f95ba11c /engines/hopkins/dialogs.cpp
parente4edf542091a31357437d30dc20bc89d008438db (diff)
downloadscummvm-rg350-577f904055a1f75fe265b7a65e9de0dee1b39ac2.tar.gz
scummvm-rg350-577f904055a1f75fe265b7a65e9de0dee1b39ac2.tar.bz2
scummvm-rg350-577f904055a1f75fe265b7a65e9de0dee1b39ac2.zip
HOPKINS: More renaming in Globals and ObjectsManager
Diffstat (limited to 'engines/hopkins/dialogs.cpp')
-rw-r--r--engines/hopkins/dialogs.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/hopkins/dialogs.cpp b/engines/hopkins/dialogs.cpp
index 9fe7be68cc..6102c8645a 100644
--- a/engines/hopkins/dialogs.cpp
+++ b/engines/hopkins/dialogs.cpp
@@ -373,7 +373,7 @@ void DialogsManager::showInventory() {
int inventIdx = _vm->_globals._inventory[inventCount];
// The last two zones are not reserved for the inventory: Options and Save/Load
if (inventIdx && inventCount <= 29) {
- byte *obj = _vm->_objectsManager.CAPTURE_OBJET(inventIdx, false);
+ byte *obj = _vm->_objectsManager.loadObjectFromFile(inventIdx, false);
_vm->_graphicsManager.restoreSurfaceRect(_vm->_graphicsManager._vesaBuffer, obj, _inventX + curPosX + 6,
curPosY + 120, _vm->_globals._objectWidth, _vm->_globals._objectHeight);
_vm->_globals.freeMemory(obj);