diff options
Diffstat (limited to 'engines/scumm/insane')
-rw-r--r-- | engines/scumm/insane/insane.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/scumm/insane/insane.cpp b/engines/scumm/insane/insane.cpp index 3f979ce2a3..59fc99a857 100644 --- a/engines/scumm/insane/insane.cpp +++ b/engines/scumm/insane/insane.cpp @@ -1148,7 +1148,7 @@ int Insane::smlayer_loadSound(int id, int flag, int phase) { if (phase == 2) _vm->ensureResourceLoaded(rtSound, resid); - _vm->res.setResourceCounter(rtSound, resid, 1); + _vm->_res->setResourceCounter(rtSound, resid, 1); if (phase == 1) { _objArray2Idx2++; @@ -1170,7 +1170,7 @@ int Insane::smlayer_loadCostume(int id, int phase) { return 0; _vm->ensureResourceLoaded(rtCostume, resid); - _vm->res.setResourceCounter(rtCostume, resid, 1); + _vm->_res->setResourceCounter(rtCostume, resid, 1); // smlayer_lock(rtCostume, resid); // FIXME |