diff options
author | Einar Johan Trøan Sømåen | 2013-07-31 09:05:53 -0700 |
---|---|---|
committer | Einar Johan Trøan Sømåen | 2013-07-31 09:05:53 -0700 |
commit | b0ce97bccf77a9bf1690816df29e14778bfb1d3e (patch) | |
tree | 76ad92b8df6d5cb9968d3795e3b0621db2a0ff4f /engines | |
parent | 58855dd37f94d58b2a1dad810b52bc4394bfc5ab (diff) | |
parent | 23d9d5b509f290c44c6e2280d287da96eeabfe67 (diff) | |
download | scummvm-rg350-b0ce97bccf77a9bf1690816df29e14778bfb1d3e.tar.gz scummvm-rg350-b0ce97bccf77a9bf1690816df29e14778bfb1d3e.tar.bz2 scummvm-rg350-b0ce97bccf77a9bf1690816df29e14778bfb1d3e.zip |
Merge pull request #358 from tobiatesan/fix_wme_base_disk
WINTERMUTE: Remove fixedPath snippet
Diffstat (limited to 'engines')
-rw-r--r-- | engines/wintermute/base/file/base_disk_file.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/engines/wintermute/base/file/base_disk_file.cpp b/engines/wintermute/base/file/base_disk_file.cpp index 3c1ecc7a73..5ffb06f854 100644 --- a/engines/wintermute/base/file/base_disk_file.cpp +++ b/engines/wintermute/base/file/base_disk_file.cpp @@ -66,12 +66,6 @@ static Common::FSNode getNodeForRelativePath(const Common::String &filename) { const Common::FSNode gameDataDir(ConfMan.get("path")); Common::FSNode curNode = gameDataDir; - Common::String fixedPath = ""; - while (!path.empty()) { - fixedPath += path.nextToken() + "/"; - } - fixedPath.deleteLastChar(); - // Parse all path-elements while (!path.empty()) { // Get the next path-component by slicing on '\\' |