diff options
author | Max Horn | 2004-06-27 21:52:25 +0000 |
---|---|---|
committer | Max Horn | 2004-06-27 21:52:25 +0000 |
commit | df984b3824c596c7f7e6a12e33bbbe0b2b470586 (patch) | |
tree | d477d1a4d47ace1604a477a9bfb308632ffecdda /scumm/resource.cpp | |
parent | a1b82d8e13ca41834c494839c2a05ae7638a38c3 (diff) | |
download | scummvm-rg350-df984b3824c596c7f7e6a12e33bbbe0b2b470586.tar.gz scummvm-rg350-df984b3824c596c7f7e6a12e33bbbe0b2b470586.tar.bz2 scummvm-rg350-df984b3824c596c7f7e6a12e33bbbe0b2b470586.zip |
Thanks to File::setDefaultDirectory(), in most cases it is *not* necessary to pass getGameDataPath() on to File::open()
svn-id: r14087
Diffstat (limited to 'scumm/resource.cpp')
-rw-r--r-- | scumm/resource.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/resource.cpp b/scumm/resource.cpp index c3e2e7882c..ba13e8dbc8 100644 --- a/scumm/resource.cpp +++ b/scumm/resource.cpp @@ -845,7 +845,7 @@ int ScummEngine::readSoundResource(int type, int idx) { *(strstr(buffer, " ")) = '\0'; debugC(DEBUG_SOUND, "FMUS file %s", buffer); - if (dmuFile.open(buffer, getGameDataPath()) == false) { + if (dmuFile.open(buffer) == false) { warning("Can't open music file %s*", buffer); res.roomoffs[type][idx] = 0xFFFFFFFF; return 0; |