aboutsummaryrefslogtreecommitdiff
path: root/scumm/script.cpp
diff options
context:
space:
mode:
authorMax Horn2005-03-31 21:39:31 +0000
committerMax Horn2005-03-31 21:39:31 +0000
commitac247c9b94ec49dac4a5febf94bab2c76e7ed114 (patch)
tree558387ff7108430cbb476381c499e4185bb877a6 /scumm/script.cpp
parent59331fe5352420a93aaa3ddb7066993cf484f7d8 (diff)
downloadscummvm-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/script.cpp')
-rw-r--r--scumm/script.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/scumm/script.cpp b/scumm/script.cpp
index 17f35a3ff1..9ab92840b7 100644
--- a/scumm/script.cpp
+++ b/scumm/script.cpp
@@ -364,7 +364,7 @@ void ScummEngine::nukeArrays(byte script) {
for (i = 1; i < _numArray; i++) {
if (_arraySlot[i] == script) {
- nukeResource(rtString, i);
+ res.nukeResource(rtString, i);
_arraySlot[i] = 0;
}
}
@@ -897,7 +897,7 @@ void ScummEngine::killScriptsAndResources() {
continue;
_newNames[i] = 0;
- nukeResource(rtObjectName, i);
+ res.nukeResource(rtObjectName, i);
}
}
}