aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorMax Horn2006-03-04 11:31:09 +0000
committerMax Horn2006-03-04 11:31:09 +0000
commitcf0716734c31007816845370ad5f4fd8b9e3dae7 (patch)
tree68a4e01b34d18528c2963f04ef00397d46e85dfb /engines
parent78985cc8a642a8b0780232e5c6a9237329e542ab (diff)
downloadscummvm-rg350-cf0716734c31007816845370ad5f4fd8b9e3dae7.tar.gz
scummvm-rg350-cf0716734c31007816845370ad5f4fd8b9e3dae7.tar.bz2
scummvm-rg350-cf0716734c31007816845370ad5f4fd8b9e3dae7.zip
When container files are used, we don't need file name substitution anymore
svn-id: r21066
Diffstat (limited to 'engines')
-rw-r--r--engines/scumm/scumm.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/scumm/scumm.cpp b/engines/scumm/scumm.cpp
index 4886651f16..f93f0f613d 100644
--- a/engines/scumm/scumm.cpp
+++ b/engines/scumm/scumm.cpp
@@ -456,6 +456,7 @@ ScummEngine::ScummEngine(GameDetector *detector, OSystem *syst, const ScummGameS
generateSubstResFileName("00.LFL", tmpBuf, sizeof(tmpBuf));
_fileHandle = new ScummNESFile();
_containerFile = tmpBuf;
+ _substResFileName.almostGameID = 0;
} else if ((_game.platform == Common::kPlatformC64) && _substResFileName.almostGameID) {
const char *tmpBuf1, *tmpBuf2;
if (_game.id == GID_MANIAC) {
@@ -469,6 +470,7 @@ ScummEngine::ScummEngine(GameDetector *detector, OSystem *syst, const ScummGameS
_fileHandle = new ScummC64File(tmpBuf1, tmpBuf2, _game.id == GID_MANIAC);
_containerFile = tmpBuf1;
+ _substResFileName.almostGameID = 0;
} else
_fileHandle = new ScummFile();