Temporary workaround for bug #2098279: ALL: Game path with no trailing backslash fails

svn-id: r34408
This commit is contained in:
Max Horn 2008-09-07 15:16:45 +00:00
parent b3a48455db
commit f5462901b2
2 changed files with 9 additions and 5 deletions

View file

@ -56,7 +56,11 @@ Engine::Engine(OSystem *syst)
_eventMan(_system->getEventManager()),
_saveFileMan(_system->getSavefileManager()),
_targetName(ConfMan.getActiveDomainName()),
_gameDataPath(ConfMan.get("path")),
// FIXME: Temporary workaround for "missing" slashes at the end
// of _gameDataPath. This can go once we completed the transition
// to the new Archive/SearchPath system. See also bug #2098279.
_gameDataPath(ConfMan.get("path") + '/'),
_pauseLevel(0),
_mainMenuDialog(NULL) {