aboutsummaryrefslogtreecommitdiff
path: root/base/engine.cpp
diff options
context:
space:
mode:
authorMax Horn2006-04-01 21:43:49 +0000
committerMax Horn2006-04-01 21:43:49 +0000
commitd61b1045682e054cb99c3497da8b79a48f104c28 (patch)
treeaa8f236005b39d188a90cc2841480514f81a288f /base/engine.cpp
parentf59d472155729a7a248b4b3d834768cac82014ff (diff)
downloadscummvm-rg350-d61b1045682e054cb99c3497da8b79a48f104c28.tar.gz
scummvm-rg350-d61b1045682e054cb99c3497da8b79a48f104c28.tar.bz2
scummvm-rg350-d61b1045682e054cb99c3497da8b79a48f104c28.zip
Removed yet another superfluous addDefaultDirectory call, and removed the unused Engine::getGameDataPath method (just use _gameDataPath directly if you need this)
svn-id: r21534
Diffstat (limited to 'base/engine.cpp')
-rw-r--r--base/engine.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/base/engine.cpp b/base/engine.cpp
index 38e2b9e0dc..ae8bfa0dcf 100644
--- a/base/engine.cpp
+++ b/base/engine.cpp
@@ -43,9 +43,6 @@ Engine::Engine(OSystem *syst)
_timer = Common::g_timer;
- // Add default file directory
- Common::File::addDefaultDirectory(_gameDataPath);
-
_saveFileMan = _system->getSavefileManager();
_autosavePeriod = ConfMan.getInt("autosave_period");
@@ -147,10 +144,6 @@ bool Engine::shouldPerformAutoSave(int lastSaveTime) {
return _autosavePeriod != 0 && diff > _autosavePeriod * 1000;
}
-const char *Engine::getGameDataPath() const {
- return _gameDataPath.c_str();
-}
-
void Engine::errorString(const char *buf1, char *buf2) {
strcpy(buf2, buf1);
}