aboutsummaryrefslogtreecommitdiff
path: root/engines/tinsel
diff options
context:
space:
mode:
authorJohannes Schickel2009-09-23 00:15:00 +0000
committerJohannes Schickel2009-09-23 00:15:00 +0000
commitc50940bbf4c9bde173cc3af22cf9b38a25df3514 (patch)
tree54101a22c17e39db13339cd52f4c2909b33b86c4 /engines/tinsel
parent75113ad5f325f7b6ab802becf845705f97dd629e (diff)
downloadscummvm-rg350-c50940bbf4c9bde173cc3af22cf9b38a25df3514.tar.gz
scummvm-rg350-c50940bbf4c9bde173cc3af22cf9b38a25df3514.tar.bz2
scummvm-rg350-c50940bbf4c9bde173cc3af22cf9b38a25df3514.zip
Got rid of Common::File::addDefaultDirectory, instead implemented the solution proposed in "Case agnostic handling for directories (and files)" on -devel.
svn-id: r44266
Diffstat (limited to 'engines/tinsel')
-rw-r--r--engines/tinsel/tinsel.cpp2
1 files changed, 1 insertions, 1 deletions
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)