diff options
author | James Brown | 2003-01-12 08:32:44 +0000 |
---|---|---|
committer | James Brown | 2003-01-12 08:32:44 +0000 |
commit | daa5397e02d5344bb2f956ac74cf0c1d7f64737a (patch) | |
tree | 2c8cf5769a31a698346c38eedb669726c6f901c8 /scumm/script.cpp | |
parent | ef9a8d07146d9431e39db7521c3d009cdc239ffc (diff) | |
download | scummvm-rg350-daa5397e02d5344bb2f956ac74cf0c1d7f64737a.tar.gz scummvm-rg350-daa5397e02d5344bb2f956ac74cf0c1d7f64737a.tar.bz2 scummvm-rg350-daa5397e02d5344bb2f956ac74cf0c1d7f64737a.zip |
Small fix - _numLocalObjects is a 1-based array, so don't go reading bad memory :P
svn-id: r6417
Diffstat (limited to 'scumm/script.cpp')
-rw-r--r-- | scumm/script.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/scumm/script.cpp b/scumm/script.cpp index b82aa3ba2a..fdb034fbc5 100644 --- a/scumm/script.cpp +++ b/scumm/script.cpp @@ -732,14 +732,12 @@ void Scumm::killScriptsAndResources() } /* Nuke FL objects */ - // ENDERFIXME - /* i = 0; do { if (_objs[i].fl_object_index) nukeResource(rtFlObject, _objs[i].fl_object_index); } while (++i <= _numObjectsInRoom); - */ + /* Nuke local object names */ if (_newNames) { for (i = 0; i < _numNewNames; i++) { |