diff options
author | Travis Howell | 2004-01-15 04:46:07 +0000 |
---|---|---|
committer | Travis Howell | 2004-01-15 04:46:07 +0000 |
commit | ea0b9e54340308c78300d52f1204dc5ea0729efa (patch) | |
tree | bde54e25f16caa002262456008cb89d48fbdb659 /scumm | |
parent | 19707c748fd46620027ac50a01236cfa880af29e (diff) | |
download | scummvm-rg350-ea0b9e54340308c78300d52f1204dc5ea0729efa.tar.gz scummvm-rg350-ea0b9e54340308c78300d52f1204dc5ea0729efa.tar.bz2 scummvm-rg350-ea0b9e54340308c78300d52f1204dc5ea0729efa.zip |
Hack only needs to check for insane values now.
svn-id: r12399
Diffstat (limited to 'scumm')
-rw-r--r-- | scumm/script_v6.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/scumm/script_v6.cpp b/scumm/script_v6.cpp index f09ee8bd71..20eef15711 100644 --- a/scumm/script_v6.cpp +++ b/scumm/script_v6.cpp @@ -1837,6 +1837,7 @@ void ScummEngine_v6::o6_verbOps() { _verbRedraw = true; op = fetchScriptByte(); + warning("o6_verbOps op %d", op); if (op == 196) { _curVerb = pop(); _curVerbSlot = getVerbSlot(_curVerb, 0); @@ -1930,8 +1931,8 @@ void ScummEngine_v6::o6_verbOps() { case 139: // SO_VERB_IMAGE_IN_ROOM b = pop(); a = pop(); - // HACK Prevent puttmoon from loading no existant objects. - if ((_gameId == GID_PUTTPUTT) && (a < 700 || a == 776 || a > 900)) + // HACK Prevent puttmoon from loading non existant objects + if ((_gameId == GID_PUTTPUTT) && (a > 900)) break; if (slot && a != vs->imgindex) { |