aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scumm/script_v5.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/script_v5.cpp b/scumm/script_v5.cpp
index 11249eca24..ea7944cb65 100644
--- a/scumm/script_v5.cpp
+++ b/scumm/script_v5.cpp
@@ -1519,7 +1519,7 @@ void Scumm_v5::o5_resourceRoutines() {
ensureResourceLoaded(resType[op-1], resid);
break;
case 4: // load room
- if (_features == GF_AFTER_V3) {
+ if (_features & GF_AFTER_V3) {
ensureResourceLoaded(rtRoom, resid);
if (resid > 0x7F)
resid = _resourceMapper[resid & 0x7F];