diff options
Diffstat (limited to 'scumm/debugger.cpp')
-rw-r--r-- | scumm/debugger.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/debugger.cpp b/scumm/debugger.cpp index 3cd30c2c5a..25ce18a830 100644 --- a/scumm/debugger.cpp +++ b/scumm/debugger.cpp @@ -448,7 +448,7 @@ bool ScummDebugger::Cmd_Object(int argc, const char **argv) { } if (!strcmp(argv[2], "pickup")) { - for (i = 1; i < _vm->_maxInventoryItems; i++) { + for (i = 0; i < _vm->_maxInventoryItems; i++) { if (_vm->_inventory[i] == (uint16)obj) { _vm->putOwner(obj, _vm->VAR(_vm->VAR_EGO)); _vm->runInventoryScript(obj); |