From 3bda82c8a38866ef636d352d97294c11dd41b3db Mon Sep 17 00:00:00 2001 From: Max Horn Date: Mon, 17 Oct 2005 16:10:12 +0000 Subject: Commit missing part of my last commit (sorry for any temporary breakage) svn-id: r19138 --- scumm/script_v5.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scumm') 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); -- cgit v1.2.3