aboutsummaryrefslogtreecommitdiff
path: root/scumm/insane
diff options
context:
space:
mode:
Diffstat (limited to 'scumm/insane')
-rw-r--r--scumm/insane/insane.cpp4
1 files changed, 2 insertions, 2 deletions
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