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 /queen/talk.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 'queen/talk.cpp')
-rw-r--r-- | queen/talk.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/queen/talk.cpp b/queen/talk.cpp index 17421e4e2d..4fd8779664 100644 --- a/queen/talk.cpp +++ b/queen/talk.cpp @@ -384,7 +384,7 @@ byte *Talk::loadDialogFile(const char *filename) { if (!scumm_stricmp(filename, dogFiles[i].filename) && _vm->resource()->getLanguage() == dogFiles[i].lang) { File fdog; - fdog.open(filename, _vm->getGameDataPath()); + fdog.open(filename); if (fdog.isOpen()) { debug(6, "Loading dog file '%s' from game data path", filename); uint32 size = fdog.size() - DOG_HEADER_SIZE; |