aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTravis Howell2004-08-05 09:32:03 +0000
committerTravis Howell2004-08-05 09:32:03 +0000
commitc6dcbd8eca34f021f67a86baf74233e4cebff6a1 (patch)
tree1b0f725141ae6ebe9111f2e6b4359651fc6ed664
parent89f838be67715f9bcaac3e4eea2c65368f81a145 (diff)
downloadscummvm-rg350-c6dcbd8eca34f021f67a86baf74233e4cebff6a1.tar.gz
scummvm-rg350-c6dcbd8eca34f021f67a86baf74233e4cebff6a1.tar.bz2
scummvm-rg350-c6dcbd8eca34f021f67a86baf74233e4cebff6a1.zip
Use array slot and not array number.
svn-id: r14466
-rw-r--r--scumm/script_v6.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/script_v6.cpp b/scumm/script_v6.cpp
index ee07cd0011..c7262fa485 100644
--- a/scumm/script_v6.cpp
+++ b/scumm/script_v6.cpp
@@ -466,7 +466,7 @@ void ScummEngine_v6::nukeArray(int a) {
if (data)
nukeResource(rtString, data);
if (_features & GF_HUMONGOUS)
- _arraySlot[a] = 0;
+ _arraySlot[data] = 0;
writeVar(a, 0);
}