aboutsummaryrefslogtreecommitdiff
path: root/engines/saga
diff options
context:
space:
mode:
authorFilippos Karapetis2007-07-26 17:13:29 +0000
committerFilippos Karapetis2007-07-26 17:13:29 +0000
commit75517ae813cbecbea0c95b99790e1ded4d5e8d99 (patch)
tree5cac7f8ce503fc2610c4e7d6f8153038dd429a34 /engines/saga
parentda7d87e410a363754ee5f75d8e9ab29f04149386 (diff)
downloadscummvm-rg350-75517ae813cbecbea0c95b99790e1ded4d5e8d99.tar.gz
scummvm-rg350-75517ae813cbecbea0c95b99790e1ded4d5e8d99.tar.bz2
scummvm-rg350-75517ae813cbecbea0c95b99790e1ded4d5e8d99.zip
Only queue the IHNM company and title videos in the full version of IHNM, not the demo
svn-id: r28217
Diffstat (limited to 'engines/saga')
-rw-r--r--engines/saga/ihnm_introproc.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/engines/saga/ihnm_introproc.cpp b/engines/saga/ihnm_introproc.cpp
index e122082322..40de389d0f 100644
--- a/engines/saga/ihnm_introproc.cpp
+++ b/engines/saga/ihnm_introproc.cpp
@@ -102,8 +102,11 @@ int Scene::IHNMStartProc() {
n_introscenes = ARRAYSIZE(IHNM_IntroList);
- for (i = 0; i < n_introscenes; i++) {
- _vm->_scene->queueScene(&IHNM_IntroList[i]);
+ // Queue the company and title videos for the full version of IHNM
+ if (_vm->getGameId() != GID_IHNM_DEMO) {
+ for (i = 0; i < n_introscenes; i++) {
+ _vm->_scene->queueScene(&IHNM_IntroList[i]);
+ }
}
firstScene.loadFlag = kLoadBySceneNumber;