diff options
author | Travis Howell | 2004-08-28 04:14:33 +0000 |
---|---|---|
committer | Travis Howell | 2004-08-28 04:14:33 +0000 |
commit | 4c732d15c6162a34905cf215e71012ced3d412bc (patch) | |
tree | fd495efdd19c9806f4713e4dc6f113fb7fb8bbc9 /scumm/script.cpp | |
parent | dc7c03029dd74b58495b65eebe0571d56ff05a01 (diff) | |
download | scummvm-rg350-4c732d15c6162a34905cf215e71012ced3d412bc.tar.gz scummvm-rg350-4c732d15c6162a34905cf215e71012ced3d412bc.tar.bz2 scummvm-rg350-4c732d15c6162a34905cf215e71012ced3d412bc.zip |
Limit nukeArrays to only location thats requires it for now.
svn-id: r14803
Diffstat (limited to 'scumm/script.cpp')
-rw-r--r-- | scumm/script.cpp | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/scumm/script.cpp b/scumm/script.cpp index a53053eb18..bbec2d8280 100644 --- a/scumm/script.cpp +++ b/scumm/script.cpp @@ -349,12 +349,14 @@ void ScummEngine::updateScriptPtr() { /* Nuke arrays based on script */ void ScummEngine::nukeArrays(int script) { - //FIXME - return; - int i; - if (!(_features & GF_HUMONGOUS) || !script) + if (!script) + return; + + //FIXME Should be used all the time + // Limited to only location in puttmoon that requires it + if (!(_gameId == GID_PUTTMOON && _roomResource == 22)) return; for (i = 1; i < _numArray; i++) { |