diff options
author | Gregory Montoir | 2004-02-28 07:34:26 +0000 |
---|---|---|
committer | Gregory Montoir | 2004-02-28 07:34:26 +0000 |
commit | 727e8b38122bbc18fa43928fbb656514e7b8dbd5 (patch) | |
tree | f3a641f44b43dc4d9100bd71b041a9784b8b814b /queen | |
parent | d94c096f368a40e4ff1c9ecd42d63f808ebb17af (diff) | |
download | scummvm-rg350-727e8b38122bbc18fa43928fbb656514e7b8dbd5.tar.gz scummvm-rg350-727e8b38122bbc18fa43928fbb656514e7b8dbd5.tar.bz2 scummvm-rg350-727e8b38122bbc18fa43928fbb656514e7b8dbd5.zip |
simplified alt_intro check
svn-id: r13082
Diffstat (limited to 'queen')
-rw-r--r-- | queen/logic.cpp | 2 | ||||
-rw-r--r-- | queen/resource.h | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/queen/logic.cpp b/queen/logic.cpp index 4a871346f1..fa58d8b009 100644 --- a/queen/logic.cpp +++ b/queen/logic.cpp @@ -2131,7 +2131,7 @@ bool LogicGame::preChangeRoom() { // XXX enable talking for talkie version - if (ConfMan.getBool("alt_intro") && !_vm->resource()->isDemo() && !_vm->resource()->isInterview() && !_vm->resource()->isFloppy()) { + if (ConfMan.getBool("alt_intro") && _vm->resource()->isCD()) { playCutaway("cintr.cut"); } else { playCutaway("cdint.cut"); diff --git a/queen/resource.h b/queen/resource.h index c52b7ab45c..c9b6036359 100644 --- a/queen/resource.h +++ b/queen/resource.h @@ -92,6 +92,7 @@ public: bool isDemo() const { return !strcmp(_versionString, "PE100"); } bool isInterview() const { return !strcmp(_versionString, "PEint"); } bool isFloppy() const { return _versionString[0] == 'P'; } + bool isCD() const { return _versionString[0] == 'C'; } uint8 compression() const { return _compression; } const char *JASVersion() const { return _versionString; } Language getLanguage() const; |