diff options
author | Travis Howell | 2006-04-01 23:31:51 +0000 |
---|---|---|
committer | Travis Howell | 2006-04-01 23:31:51 +0000 |
commit | a2c4795f326e62fe8ff74ce0e29e0174d4dab330 (patch) | |
tree | ab5bebbf9c3246cb9aaf08815b657a001d328bfe | |
parent | 3de55677b92bfbb07d8e5acefaaa19df12c3cbbf (diff) | |
download | scummvm-rg350-a2c4795f326e62fe8ff74ce0e29e0174d4dab330.tar.gz scummvm-rg350-a2c4795f326e62fe8ff74ce0e29e0174d4dab330.tar.bz2 scummvm-rg350-a2c4795f326e62fe8ff74ce0e29e0174d4dab330.zip |
Update gameDataPath() calls in engine, to fix compile
svn-id: r21541
-rw-r--r-- | base/engine.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/base/engine.cpp b/base/engine.cpp index 02ed7d1cdb..1d941df5bc 100644 --- a/base/engine.cpp +++ b/base/engine.cpp @@ -111,12 +111,12 @@ void Engine::checkCD() { char buffer[MAXPATHLEN]; int i; - if (strlen(getGameDataPath()) == 0) { + if (strlen(_gameDataPath.c_str()) == 0) { // That's it! I give up! if (getcwd(buffer, MAXPATHLEN) == NULL) return; } else - strncpy(buffer, getGameDataPath(), MAXPATHLEN); + strncpy(buffer, _gameDataPath.c_str(), MAXPATHLEN); for (i = 0; i < MAXPATHLEN - 1; i++) { if (buffer[i] == '\\') |