aboutsummaryrefslogtreecommitdiff
path: root/scumm/script_v6.cpp
diff options
context:
space:
mode:
authorTravis Howell2005-10-14 12:36:46 +0000
committerTravis Howell2005-10-14 12:36:46 +0000
commitdcb2372e23d58f700f25764429f148ddd5d8f73b (patch)
tree55890eba7f2c8bb76da0485f3ed288f4011ef492 /scumm/script_v6.cpp
parent67eedc08d27e6a3649db5bcb9a4c0ad76e468d35 (diff)
downloadscummvm-rg350-dcb2372e23d58f700f25764429f148ddd5d8f73b.tar.gz
scummvm-rg350-dcb2372e23d58f700f25764429f148ddd5d8f73b.tar.bz2
scummvm-rg350-dcb2372e23d58f700f25764429f148ddd5d8f73b.zip
Adjust array ids in HE80+ games, to match original.
Otherwise array aren't always nuked by scripts. svn-id: r19082
Diffstat (limited to 'scumm/script_v6.cpp')
-rw-r--r--scumm/script_v6.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/scumm/script_v6.cpp b/scumm/script_v6.cpp
index 7b9557ff83..cd61ab565a 100644
--- a/scumm/script_v6.cpp
+++ b/scumm/script_v6.cpp
@@ -460,6 +460,9 @@ void ScummEngine_v6::nukeArray(int a) {
data = readVar(a);
+ if (_heversion >= 80)
+ data &= ~0x33539000;
+
if (data)
res.nukeResource(rtString, data);
if (_heversion >= 60)