diff options
author | James Brown | 2003-01-12 07:30:17 +0000 |
---|---|---|
committer | James Brown | 2003-01-12 07:30:17 +0000 |
commit | ef9a8d07146d9431e39db7521c3d009cdc239ffc (patch) | |
tree | 135393c6cd6cfeba902b9b6c64416298797895f8 /scumm/verbs.cpp | |
parent | 6bf93e41c5629c2919f5d38648790eef0acad72e (diff) | |
download | scummvm-rg350-ef9a8d07146d9431e39db7521c3d009cdc239ffc.tar.gz scummvm-rg350-ef9a8d07146d9431e39db7521c3d009cdc239ffc.tar.bz2 scummvm-rg350-ef9a8d07146d9431e39db7521c3d009cdc239ffc.zip |
New method of local object management. Buggy, segfaults on the Part 1 screen and I don't know why yet..
svn-id: r6416
Diffstat (limited to 'scumm/verbs.cpp')
-rw-r--r-- | scumm/verbs.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/verbs.cpp b/scumm/verbs.cpp index d9ad690d1d..8fa7f345bc 100644 --- a/scumm/verbs.cpp +++ b/scumm/verbs.cpp @@ -319,7 +319,7 @@ void Scumm::setVerbObject(uint room, uint object, uint verb) error("Can't grab verb image from flobject"); if (_features & GF_SMALL_HEADER) { - for (i = _numObjectsInRoom; i > 0; i--) { + for (i = _numLocalObjects; i > 0; i--) { if (_objs[i].obj_nr == object) { findObjectInRoom(&foir, foImageHeader, object, room); size = READ_LE_UINT32(foir.obim); |