aboutsummaryrefslogtreecommitdiff
path: root/engines/saga/introproc_ihnm.cpp
diff options
context:
space:
mode:
authorFilippos Karapetis2010-05-16 10:36:21 +0000
committerFilippos Karapetis2010-05-16 10:36:21 +0000
commit80acb21a56f6e1a42de6d44de87d24891ded7e80 (patch)
tree64824e515c93e246acc05ed1816663b8f55b8b23 /engines/saga/introproc_ihnm.cpp
parentb57bab8e3ba0909a253c439296f7f5e9c2bb2150 (diff)
downloadscummvm-rg350-80acb21a56f6e1a42de6d44de87d24891ded7e80.tar.gz
scummvm-rg350-80acb21a56f6e1a42de6d44de87d24891ded7e80.tar.bz2
scummvm-rg350-80acb21a56f6e1a42de6d44de87d24891ded7e80.zip
Added automatic detection of the IHNM demo
svn-id: r49047
Diffstat (limited to 'engines/saga/introproc_ihnm.cpp')
-rw-r--r--engines/saga/introproc_ihnm.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/saga/introproc_ihnm.cpp b/engines/saga/introproc_ihnm.cpp
index a8970ffd6f..e149753dfd 100644
--- a/engines/saga/introproc_ihnm.cpp
+++ b/engines/saga/introproc_ihnm.cpp
@@ -54,7 +54,7 @@ int Scene::IHNMStartProc() {
IHNMLoadCutaways();
- if (!(_vm->getFeatures() & GF_IHNM_DEMO)) {
+ if (!_vm->isIHNMDemo()) {
int logoLength = -168;
if (_vm->getLanguage() == Common::DE_DEU || _vm->getLanguage() == Common::ES_ESP)
@@ -105,7 +105,7 @@ int Scene::IHNMCreditsProc() {
_vm->_music->play(0, MUSIC_NORMAL);
- if (!(_vm->getFeatures() & GF_IHNM_DEMO)) {
+ if (!_vm->isIHNMDemo()) {
// Display the credits for 400 frames
playTitle(4, -400, true);
} else {
@@ -130,7 +130,7 @@ void Scene::IHNMLoadCutaways() {
error("Scene::IHNMStartProc() resource context not found");
}
- if (!(_vm->getFeatures() & GF_IHNM_DEMO))
+ if (!_vm->isIHNMDemo())
_vm->_resource->loadResource(resourceContext, RID_IHNM_INTRO_CUTAWAYS, resourcePointer, resourceLength);
else
_vm->_resource->loadResource(resourceContext, RID_IHNMDEMO_INTRO_CUTAWAYS, resourcePointer, resourceLength);