[Scummvm-cvs-logs] SF.net SVN: scummvm: [30950] scummvm/trunk/engines/kyra/resource.cpp

lordhoto at users.sourceforge.net lordhoto at users.sourceforge.net
Sun Feb 24 13:33:21 CET 2008


Revision: 30950
          http://scummvm.svn.sourceforge.net/scummvm/?rev=30950&view=rev
Author:   lordhoto
Date:     2008-02-24 04:33:20 -0800 (Sun, 24 Feb 2008)

Log Message:
-----------
Oops fix stupid copy&paste error...

Modified Paths:
--------------
    scummvm/trunk/engines/kyra/resource.cpp

Modified: scummvm/trunk/engines/kyra/resource.cpp
===================================================================
--- scummvm/trunk/engines/kyra/resource.cpp	2008-02-24 12:30:12 UTC (rev 30949)
+++ scummvm/trunk/engines/kyra/resource.cpp	2008-02-24 12:33:20 UTC (rev 30950)
@@ -275,13 +275,15 @@
 			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());


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list