[Scummvm-cvs-logs] CVS: scummvm/base main.cpp,1.53,1.54

Eugene Sandulenko sev at users.sourceforge.net
Sun Nov 14 20:43:05 CET 2004


Update of /cvsroot/scummvm/scummvm/base
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30014/base

Modified Files:
	main.cpp 
Log Message:
Add global extrapath to GUI and to default directories list.


Index: main.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/base/main.cpp,v
retrieving revision 1.53
retrieving revision 1.54
diff -u -d -r1.53 -r1.54
--- main.cpp	13 Nov 2004 04:33:28 -0000	1.53
+++ main.cpp	15 Nov 2004 04:41:48 -0000	1.54
@@ -276,6 +276,9 @@
 	if (ConfMan.hasKey("extrapath"))
 		File::addDefaultDirectory(ConfMan.get("extrapath"));
 
+	if (ConfMan.hasKey("extrapath", Common::ConfigManager::kApplicationDomain))
+		File::addDefaultDirectory(ConfMan.get("extrapath", Common::ConfigManager::kApplicationDomain));
+
 	// Run the game engine
 	engine->go();
 





More information about the Scummvm-git-logs mailing list