simplified alt_intro check

svn-id: r13082
This commit is contained in:
Gregory Montoir 2004-02-28 07:34:26 +00:00
parent d94c096f36
commit 727e8b3812
2 changed files with 2 additions and 1 deletions

View File

@ -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");

View File

@ -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;