From c50940bbf4c9bde173cc3af22cf9b38a25df3514 Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Wed, 23 Sep 2009 00:15:00 +0000 Subject: Got rid of Common::File::addDefaultDirectory, instead implemented the solution proposed in "Case agnostic handling for directories (and files)" on -devel. svn-id: r44266 --- engines/tinsel/tinsel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/tinsel') diff --git a/engines/tinsel/tinsel.cpp b/engines/tinsel/tinsel.cpp index 7586c5e749..a375e48a2b 100644 --- a/engines/tinsel/tinsel.cpp +++ b/engines/tinsel/tinsel.cpp @@ -844,7 +844,7 @@ TinselEngine::TinselEngine(OSystem *syst, const TinselGameDescription *gameDesc) _mixer->setVolumeForSoundType(Audio::Mixer::kMusicSoundType, ConfMan.getInt("music_volume")); // Add DW2 subfolder to search path in case user is running directly from the CDs - Common::File::addDefaultDirectory(_gameDataDir.getChild("dw2")); + SearchMan.addSubDirectoryMatching(_gameDataDir, "dw2"); // Add subfolders needed for psx versions of Discworld 1 if (TinselV1PSX) -- cgit v1.2.3