aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm
diff options
context:
space:
mode:
authorTravis Howell2011-01-28 12:35:20 +0000
committerTravis Howell2011-01-28 12:35:20 +0000
commit2187411977dc41911c6948b806401aa1330cae94 (patch)
tree668b5768acd5c728d214d7af133079ff95b3fa8b /engines/scumm
parenta35a45aa2e2f1a31a819add3f9b090efa4adaa5d (diff)
downloadscummvm-rg350-2187411977dc41911c6948b806401aa1330cae94.tar.gz
scummvm-rg350-2187411977dc41911c6948b806401aa1330cae94.tar.bz2
scummvm-rg350-2187411977dc41911c6948b806401aa1330cae94.zip
SCUMM: Fix bug #3167036 - BluesBirthday: Crash in the demo.
svn-id: r55589
Diffstat (limited to 'engines/scumm')
-rw-r--r--engines/scumm/detection.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/scumm/detection.cpp b/engines/scumm/detection.cpp
index 6430ab7c4d..2a6de98dee 100644
--- a/engines/scumm/detection.cpp
+++ b/engines/scumm/detection.cpp
@@ -102,7 +102,7 @@ Common::String ScummEngine::generateFilename(const int room) const {
case 2:
id = 'b';
// Special cases for Blue's games, which share common (b) files
- if (_game.id == GID_BIRTHDAY)
+ if (_game.id == GID_BIRTHDAY && !(_game.features & GF_DEMO))
strcpy(buf, "Blue'sBirthday.(b)");
else if (_game.id == GID_TREASUREHUNT)
strcpy(buf, "Blue'sTreasureHunt.(b)");