diff options
author | Travis Howell | 2003-09-06 08:57:19 +0000 |
---|---|---|
committer | Travis Howell | 2003-09-06 08:57:19 +0000 |
commit | c951e5f8420c858b6253b05fecf362646c872c8a (patch) | |
tree | 9e1d6298d2078c5e8a27fe8ad1de908c012cb56d /scumm/script_v2.cpp | |
parent | 52a59049c793b63e52485330adfcfde749391ffd (diff) | |
download | scummvm-rg350-c951e5f8420c858b6253b05fecf362646c872c8a.tar.gz scummvm-rg350-c951e5f8420c858b6253b05fecf362646c872c8a.tar.bz2 scummvm-rg350-c951e5f8420c858b6253b05fecf362646c872c8a.zip |
OOps
svn-id: r10041
Diffstat (limited to 'scumm/script_v2.cpp')
-rw-r--r-- | scumm/script_v2.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/script_v2.cpp b/scumm/script_v2.cpp index 1ac7dc1b14..3a56085e83 100644 --- a/scumm/script_v2.cpp +++ b/scumm/script_v2.cpp @@ -782,7 +782,7 @@ void Scumm_v2::o2_resourceRoutines() { if (0 <= (opcode >> 4) && (opcode >> 4) < (int)ARRAYSIZE(resTypes)) type = resTypes[opcode >> 4]; - if (type == rtNumTypes) + if ((opcode & 0x0f) == 0 || type == rtNumTypes) return; if ((opcode & 0x0f) == 1) { |