Limit nukeArrays to only location thats requires it for now.

svn-id: r14803
This commit is contained in:
Travis Howell 2004-08-28 04:14:33 +00:00
parent dc7c03029d
commit 4c732d15c6
4 changed files with 9 additions and 6 deletions

View file

@ -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++) {