diff options
author | Travis Howell | 2011-01-28 12:35:20 +0000 |
---|---|---|
committer | Travis Howell | 2011-01-28 12:35:20 +0000 |
commit | 2187411977dc41911c6948b806401aa1330cae94 (patch) | |
tree | 668b5768acd5c728d214d7af133079ff95b3fa8b | |
parent | a35a45aa2e2f1a31a819add3f9b090efa4adaa5d (diff) | |
download | scummvm-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
-rw-r--r-- | engines/scumm/detection.cpp | 2 |
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)"); |