aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTravis Howell2004-08-02 07:47:05 +0000
committerTravis Howell2004-08-02 07:47:05 +0000
commit8ab743e39722c58ee0033865003f1e0f56fbe76f (patch)
treeea5524946b9d7fa6018515d9249bd854d059a417
parentcace3577d9d60cf714f9f5b41fe81b6a90426614 (diff)
downloadscummvm-rg350-8ab743e39722c58ee0033865003f1e0f56fbe76f.tar.gz
scummvm-rg350-8ab743e39722c58ee0033865003f1e0f56fbe76f.tar.bz2
scummvm-rg350-8ab743e39722c58ee0033865003f1e0f56fbe76f.zip
Missed a line
svn-id: r14432
-rw-r--r--scumm/script.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/scumm/script.cpp b/scumm/script.cpp
index 499c341607..891b308a25 100644
--- a/scumm/script.cpp
+++ b/scumm/script.cpp
@@ -353,8 +353,10 @@ void ScummEngine::nukeArrays(int script) {
return;
for (i = 1; i < _numArray; i++) {
- if (_arraySlot[i] == script)
+ if (_arraySlot[i] == script) {
nukeResource(rtString, i);
+ _arraySlot[i] = 0;
+ }
}
}