aboutsummaryrefslogtreecommitdiff
path: root/engines/hopkins/dialogs.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/hopkins/dialogs.cpp')
-rw-r--r--engines/hopkins/dialogs.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/hopkins/dialogs.cpp b/engines/hopkins/dialogs.cpp
index 2b23f20fc4..49d690c385 100644
--- a/engines/hopkins/dialogs.cpp
+++ b/engines/hopkins/dialogs.cpp
@@ -417,8 +417,8 @@ void DialogsManager::showInventory() {
_vm->_scriptManager._tempObjectFl = true;
_vm->_globals._saveData->_data[svLastObjectIndex] = _vm->_objectsManager._curObjectIndex;
- _vm->_globals._saveData->_data[svUseless8] = _vm->_globals._inventory[newInventoryItem];
- _vm->_globals._saveData->_data[svUseless9] = _vm->_eventsManager._mouseCursorId;
+ _vm->_globals._saveData->_data[svLastInventoryItem] = _vm->_globals._inventory[newInventoryItem];
+ _vm->_globals._saveData->_data[svLastInvMouseCursor] = _vm->_eventsManager._mouseCursorId;
_vm->_objectsManager.OPTI_OBJET();
_vm->_scriptManager._tempObjectFl = false;