aboutsummaryrefslogtreecommitdiff
path: root/engines/m4
diff options
context:
space:
mode:
authorMax Horn2008-09-07 22:10:58 +0000
committerMax Horn2008-09-07 22:10:58 +0000
commit2bc093828f0c626c7dd57f9cb300284b8563e411 (patch)
treedb05cf763dd73e0f413648e7b62863b104af220b /engines/m4
parent3c48fb7eaec11a81ee90577ee2e94bfa209aee69 (diff)
downloadscummvm-rg350-2bc093828f0c626c7dd57f9cb300284b8563e411.tar.gz
scummvm-rg350-2bc093828f0c626c7dd57f9cb300284b8563e411.tar.bz2
scummvm-rg350-2bc093828f0c626c7dd57f9cb300284b8563e411.zip
Replaced Engine::_gameDataPath (a String) by Engine::_gameDataDir (an FSNode); adapted code to that (by using getChild() to get subdirs, not string concatenation
svn-id: r34434
Diffstat (limited to 'engines/m4')
-rw-r--r--engines/m4/m4.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/m4/m4.cpp b/engines/m4/m4.cpp
index e49d33acb0..44d7f653d1 100644
--- a/engines/m4/m4.cpp
+++ b/engines/m4/m4.cpp
@@ -107,7 +107,7 @@ M4Engine::M4Engine(OSystem *syst, const M4GameDescription *gameDesc) :
// FIXME
_vm = this;
- Common::File::addDefaultDirectory(_gameDataPath);
+ Common::File::addDefaultDirectory(_gameDataDir);
Common::File::addDefaultDirectory("goodstuf"); // FIXME: This is nonsense
Common::File::addDefaultDirectory("resource"); // FIXME: This is nonsense