From a8c4ffa93ffa9062d02f93b327366b681050f5af Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Sun, 7 Sep 2008 22:41:57 +0000 Subject: Changed priorities for search paths. (Just in case system specific data paths contain an outdated kyra.dat version) svn-id: r34438 --- engines/kyra/resource.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/engines/kyra/resource.cpp b/engines/kyra/resource.cpp index 51ef9f3e81..bc83111d14 100644 --- a/engines/kyra/resource.cpp +++ b/engines/kyra/resource.cpp @@ -41,9 +41,9 @@ Resource::Resource(KyraEngine_v1 *vm) : _archiveCache(), _files(), _archiveFiles Common::SharedPtr path(new Common::FSDirectory(ConfMan.get("path"))); Common::SharedPtr extrapath(new Common::FSDirectory(ConfMan.get("extrapath"))); + _files.add("path", path, 4); + _files.add("extrapath", extrapath, 4); _vm->_system->addSysArchivesToSearchSet(_files, 3); - _files.add("path", path, 3); - _files.add("extrapath", extrapath, 3); // compressed installer archives are added at level '2', // but that's done in Resource::reset not here _files.add("protected", _protectedFiles, 1); -- cgit v1.2.3