diff options
author | Johannes Schickel | 2008-02-24 12:33:20 +0000 |
---|---|---|
committer | Johannes Schickel | 2008-02-24 12:33:20 +0000 |
commit | 83d2f0c3e7a737648fe5062ed00745cd3d0d207b (patch) | |
tree | a4257f8ace4a64311fb6bf3c7518ef3e95588f57 /engines/kyra | |
parent | cb36b056ba1537ad69c08ed51ee110f2fdb73f0a (diff) | |
download | scummvm-rg350-83d2f0c3e7a737648fe5062ed00745cd3d0d207b.tar.gz scummvm-rg350-83d2f0c3e7a737648fe5062ed00745cd3d0d207b.tar.bz2 scummvm-rg350-83d2f0c3e7a737648fe5062ed00745cd3d0d207b.zip |
Oops fix stupid copy&paste error...
svn-id: r30950
Diffstat (limited to 'engines/kyra')
-rw-r--r-- | engines/kyra/resource.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/kyra/resource.cpp b/engines/kyra/resource.cpp index 4ab24852d2..0f48dcdd07 100644 --- a/engines/kyra/resource.cpp +++ b/engines/kyra/resource.cpp @@ -275,13 +275,15 @@ void Resource::unloadAllPakFiles() { temp.close(); } } + + detectFileTypes(); } bool Resource::addSearchPath(const Common::String &path) { if (path.empty()) return false; - FilesystemNode dir(ConfMan.get("path")); + FilesystemNode dir(path); if (!dir.exists() || !dir.isDirectory()) { warning("invalid data path '%s'", dir.getPath().c_str()); |