aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Horn2005-10-17 16:10:12 +0000
committerMax Horn2005-10-17 16:10:12 +0000
commit3bda82c8a38866ef636d352d97294c11dd41b3db (patch)
treec87f1c167fb329058836fd6d5261b55f791211a6
parentbb8afe3839493eac79cb6cc747c0d46d41f183ab (diff)
downloadscummvm-rg350-3bda82c8a38866ef636d352d97294c11dd41b3db.tar.gz
scummvm-rg350-3bda82c8a38866ef636d352d97294c11dd41b3db.tar.bz2
scummvm-rg350-3bda82c8a38866ef636d352d97294c11dd41b3db.zip
Commit missing part of my last commit (sorry for any temporary breakage)
svn-id: r19138
-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);