diff options
author | Jonathan Gray | 2003-05-01 13:45:45 +0000 |
---|---|---|
committer | Jonathan Gray | 2003-05-01 13:45:45 +0000 |
commit | fb36c0ad302c4f023b20576ec0882d57a7803532 (patch) | |
tree | 8d915fba9bb88e8a8d3fc669425b3dab688f643f /scumm | |
parent | d0fd19bd48070bf6a2976cad82af1f89e4c2d201 (diff) | |
download | scummvm-rg350-fb36c0ad302c4f023b20576ec0882d57a7803532.tar.gz scummvm-rg350-fb36c0ad302c4f023b20576ec0882d57a7803532.tar.bz2 scummvm-rg350-fb36c0ad302c4f023b20576ec0882d57a7803532.zip |
off by one error
svn-id: r7248
Diffstat (limited to 'scumm')
-rw-r--r-- | scumm/script_v5.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/script_v5.cpp b/scumm/script_v5.cpp index 0946a18c41..b489857b6e 100644 --- a/scumm/script_v5.cpp +++ b/scumm/script_v5.cpp @@ -803,7 +803,7 @@ void Scumm_v5::o5_drawObject() { w = od->width; h = od->height; - i = _numLocalObjects; + i = _numLocalObjects - 1; do { if (_objs[i].obj_nr && _objs[i].x_pos == x && _objs[i].y_pos == y && _objs[i].width == w && _objs[i].height == h) putState(_objs[i].obj_nr, 0); |