aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--common/file.h5
-rw-r--r--engines/draci/draci.cpp2
2 files changed, 3 insertions, 4 deletions
diff --git a/common/file.h b/common/file.h
index 8eb03f1629..d28cd9c308 100644
--- a/common/file.h
+++ b/common/file.h
@@ -52,9 +52,8 @@ public:
virtual ~File();
/**
- * Checks if a given file exists in any of the current default paths
- * (those were/are added by addDefaultDirectory and/or
- * addDefaultDirectoryRecursive).
+ * Checks if a given file exists in any of the current default paths,
+ * as defined by SearchMan.
*
* @param filename the file to check for
* @return true if the file exists, false otherwise
diff --git a/engines/draci/draci.cpp b/engines/draci/draci.cpp
index 2946b57019..31b2c28679 100644
--- a/engines/draci/draci.cpp
+++ b/engines/draci/draci.cpp
@@ -79,7 +79,7 @@ DraciEngine::DraciEngine(OSystem *syst, const ADGameDescription *gameDesc)
// Do not initialize graphics here
// However this is the place to specify all default directories
- //Common::File::addDefaultDirectory(_gameDataPath + "sound/");
+ //SearchMan.addSubDirectoryMatching(_gameDataDir, "sound");
// Here is the right place to set up the engine specific debug levels
Common::addDebugChannel(kDraciGeneralDebugLevel, "general", "Draci general debug info");