From b6a8907edf0d604aa37300f4d1485d8d6e542994 Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Tue, 1 Mar 2016 19:17:59 +0100 Subject: SCI: Cleanup: Use Common::StringArray instead of custom type. --- engines/sci/resource.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engines/sci') diff --git a/engines/sci/resource.cpp b/engines/sci/resource.cpp index 7fb09fe69e..6a5af1a6d6 100644 --- a/engines/sci/resource.cpp +++ b/engines/sci/resource.cpp @@ -586,10 +586,10 @@ int ResourceManager::addAppropriateSources() { #endif } else if (Common::MacResManager::exists("Data1")) { // Mac SCI1.1+ file naming scheme - Common::Array files; + Common::StringArray files; Common::MacResManager::listFiles(files, "Data?"); - for (Common::Array::const_iterator x = files.begin(); x != files.end(); ++x) { + for (Common::StringArray::const_iterator x = files.begin(); x != files.end(); ++x) { addSource(new MacResourceForkResourceSource(*x, atoi(x->c_str() + 4))); } -- cgit v1.2.3