diff options
author | Max Horn | 2005-10-17 16:10:12 +0000 |
---|---|---|
committer | Max Horn | 2005-10-17 16:10:12 +0000 |
commit | 3bda82c8a38866ef636d352d97294c11dd41b3db (patch) | |
tree | c87f1c167fb329058836fd6d5261b55f791211a6 /scumm/script_v5.cpp | |
parent | bb8afe3839493eac79cb6cc747c0d46d41f183ab (diff) | |
download | scummvm-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
Diffstat (limited to 'scumm/script_v5.cpp')
-rw-r--r-- | scumm/script_v5.cpp | 2 |
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); |