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 4b6669082c..acf51bd18c 100644
--- a/scumm/script_v5.cpp
+++ b/scumm/script_v5.cpp
@@ -1729,7 +1729,7 @@ void ScummEngine_v5::o5_resourceRoutines() {
resid = _resourceMapper[resid & 0x7F];
if (_currentRoom != resid) {
- res.flags[rtRoom][resid] |= 1;
+ res.setResourceCounter(rtRoom, resid, 1);
}
} else
ensureResourceLoaded(rtRoom, resid);