diff options
author | Max Horn | 2005-03-31 21:39:31 +0000 |
---|---|---|
committer | Max Horn | 2005-03-31 21:39:31 +0000 |
commit | ac247c9b94ec49dac4a5febf94bab2c76e7ed114 (patch) | |
tree | 558387ff7108430cbb476381c499e4185bb877a6 /scumm/insane | |
parent | 59331fe5352420a93aaa3ddb7066993cf484f7d8 (diff) | |
download | scummvm-rg350-ac247c9b94ec49dac4a5febf94bab2c76e7ed114.tar.gz scummvm-rg350-ac247c9b94ec49dac4a5febf94bab2c76e7ed114.tar.bz2 scummvm-rg350-ac247c9b94ec49dac4a5febf94bab2c76e7ed114.zip |
Started to move some resource related code into a new class ResourceManager (hypothetic goal for the future: use ResourceManager in ScummEx)
svn-id: r17311
Diffstat (limited to 'scumm/insane')
-rw-r--r-- | scumm/insane/insane.cpp | 4 |
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 |