aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorTravis Howell2006-03-04 12:08:19 +0000
committerTravis Howell2006-03-04 12:08:19 +0000
commitbc735c4595169a574383ffa1de3cd72a72c886c9 (patch)
treee1f3cf1fed9b31a094684c8b09678df20b531553 /engines
parentf66cc08bdbdb662777a216a5a2c0cfbdcb463238 (diff)
downloadscummvm-rg350-bc735c4595169a574383ffa1de3cd72a72c886c9.tar.gz
scummvm-rg350-bc735c4595169a574383ffa1de3cd72a72c886c9.tar.bz2
scummvm-rg350-bc735c4595169a574383ffa1de3cd72a72c886c9.zip
Older naming style only used by PC version of FT demo
svn-id: r21070
Diffstat (limited to 'engines')
-rw-r--r--engines/scumm/resource.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/scumm/resource.cpp b/engines/scumm/resource.cpp
index 249baf2513..2acd6ae233 100644
--- a/engines/scumm/resource.cpp
+++ b/engines/scumm/resource.cpp
@@ -139,9 +139,9 @@ void ScummEngine::openRoom(const int room) {
VAR(VAR_CURRENTDISK) = diskNumber;
sprintf(buf, "%s.la%d", _baseName.c_str(), diskNumber);
- // FIXME: Which games use the following? Apparently, there is
- // an FT demo using it -- anything else?
- sprintf(buf2, "%s.%.3d", _baseName.c_str(), diskNumber);
+ // Used by PC version of Full Throttle demo
+ if (_game.id == GID_FT && (_game.features & GF_DEMO) && _game.platform == Common::kPlatformPC)
+ sprintf(buf2, "%s.%.3d", _baseName.c_str(), diskNumber);
} else if (_game.heversion >= 60) {
sprintf(buf, "%s.he%.1d", _baseName.c_str(), diskNumber);
} else {