aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTravis Howell2004-09-13 02:29:45 +0000
committerTravis Howell2004-09-13 02:29:45 +0000
commit9105a3ae1d57214edd709556dfe293f9b35a21d7 (patch)
treeeff6d4ce0d7c80561503c27bac99a05323ab3160
parenta14bdf55105d1a2baaf8b46d30efe0f714dd6d1d (diff)
downloadscummvm-rg350-9105a3ae1d57214edd709556dfe293f9b35a21d7.tar.gz
scummvm-rg350-9105a3ae1d57214edd709556dfe293f9b35a21d7.tar.bz2
scummvm-rg350-9105a3ae1d57214edd709556dfe293f9b35a21d7.zip
Required for later HE games to.
svn-id: r15084
-rw-r--r--scumm/script.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/scumm/script.cpp b/scumm/script.cpp
index 9e2716b801..a69b168ffc 100644
--- a/scumm/script.cpp
+++ b/scumm/script.cpp
@@ -351,12 +351,11 @@ void ScummEngine::updateScriptPtr() {
void ScummEngine::nukeArrays(int script) {
int i;
- if (!script)
+ if (_heversion < 60 || !script)
return;
- //FIXME Should be used all the time
- // Only required in puttmoon
- if (_gameId != GID_PUTTMOON)
+ //FIXME Nukes wrong arrays in fbear
+ if (_gameId == GID_FBEAR)
return;
for (i = 1; i < _numArray; i++) {