diff --git a/scumm/script_v2.cpp b/scumm/script_v2.cpp index 1ac7dc1b148..3a56085e83d 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) {