From ac247c9b94ec49dac4a5febf94bab2c76e7ed114 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Thu, 31 Mar 2005 21:39:31 +0000 Subject: Started to move some resource related code into a new class ResourceManager (hypothetic goal for the future: use ResourceManager in ScummEx) svn-id: r17311 --- scumm/insane/insane.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scumm/insane') diff --git a/scumm/insane/insane.cpp b/scumm/insane/insane.cpp index a8a2da98cd..7ab6e0ee0f 100644 --- a/scumm/insane/insane.cpp +++ b/scumm/insane/insane.cpp @@ -1119,7 +1119,7 @@ int Insane::smlayer_loadSound(int id, int flag, int phase) { if (phase == 2) _vm->ensureResourceLoaded(rtSound, resid); - _vm->setResourceCounter(rtSound, resid, 1); + _vm->res.setResourceCounter(rtSound, resid, 1); if (phase == 1) { _objArray2Idx2++; @@ -1141,7 +1141,7 @@ int Insane::smlayer_loadCostume(int id, int phase) { return 0; _vm->ensureResourceLoaded(rtCostume, resid); - _vm->setResourceCounter(rtCostume, resid, 1); + _vm->res.setResourceCounter(rtCostume, resid, 1); // smlayer_lock(rtCostume, resid); // FIXME -- cgit v1.2.3