mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-15 14:18:37 +00:00
OOps
svn-id: r10041
This commit is contained in:
parent
52a59049c7
commit
c951e5f842
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user