aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/scicore/script.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/sci/scicore/script.cpp')
-rw-r--r--engines/sci/scicore/script.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/scicore/script.cpp b/engines/sci/scicore/script.cpp
index ffa7fae332..09c66d1e63 100644
--- a/engines/sci/scicore/script.cpp
+++ b/engines/sci/scicore/script.cpp
@@ -329,7 +329,7 @@ static void script_dump_class(char *data, int seeker, int objsize, const Common:
void script_dissect(ResourceManager *resmgr, int res_no, const Common::StringList &selectorNames) {
int objectctr[11] = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0};
unsigned int _seeker = 0;
- resource_t *script = scir_find_resource(resmgr, sci_script, res_no, 0);
+ resource_t *script = resmgr->findResource(sci_script, res_no, 0);
word_t **words;
int word_count;