diff options
author | Travis Howell | 2004-08-05 11:03:22 +0000 |
---|---|---|
committer | Travis Howell | 2004-08-05 11:03:22 +0000 |
commit | b154e524a9b8e862dbf34e868264ab8d11f21066 (patch) | |
tree | cf65ad4e394100ac931ca8d362a10c64446c818b /scumm/script.cpp | |
parent | b569d58b6ee79d41e9135dd7d3763d4514e7954e (diff) | |
download | scummvm-rg350-b154e524a9b8e862dbf34e868264ab8d11f21066.tar.gz scummvm-rg350-b154e524a9b8e862dbf34e868264ab8d11f21066.tar.bz2 scummvm-rg350-b154e524a9b8e862dbf34e868264ab8d11f21066.zip |
Correction from disasm.
svn-id: r14468
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 e81797165d..7aea832dfe 100644 --- a/scumm/script.cpp +++ b/scumm/script.cpp @@ -355,9 +355,7 @@ void ScummEngine::nukeArrays(int script) { return; for (i = 1; i < _numArray; i++) { - // HACK: for some reason original has script number greater by one - // maybe it got increased somewhere else - if (_arraySlot[i] == script + 1) { + if (_arraySlot[i] == script) { nukeResource(rtString, i); _arraySlot[i] = 0; } |