aboutsummaryrefslogtreecommitdiff
path: root/saga/ite_introproc.cpp
diff options
context:
space:
mode:
authorAndrew Kurushin2005-08-04 14:49:04 +0000
committerAndrew Kurushin2005-08-04 14:49:04 +0000
commitb4bd032f544290c7257244df31e3b326519e7b29 (patch)
tree351b88690f5478f3840bd8eb9f67c8e95a4d637f /saga/ite_introproc.cpp
parent5fb85d659c4d09f1274fe94c27ebfe94d6a036b3 (diff)
downloadscummvm-rg350-b4bd032f544290c7257244df31e3b326519e7b29.tar.gz
scummvm-rg350-b4bd032f544290c7257244df31e3b326519e7b29.tar.bz2
scummvm-rg350-b4bd032f544290c7257244df31e3b326519e7b29.zip
fixed DUMMY resource in old mac cd
fixed intro voice at endscene svn-id: r18616
Diffstat (limited to 'saga/ite_introproc.cpp')
-rw-r--r--saga/ite_introproc.cpp18
1 files changed, 10 insertions, 8 deletions
diff --git a/saga/ite_introproc.cpp b/saga/ite_introproc.cpp
index 46e41ac4c3..b82d654630 100644
--- a/saga/ite_introproc.cpp
+++ b/saga/ite_introproc.cpp
@@ -875,16 +875,18 @@ int Scene::ITEIntroTreeHouseProc(int param) {
q_event = _vm->_events->queue(&event);
- // Begin title screen background animation
- _vm->_anim->setFrameTime(0, 100);
+ if (_vm->_anim->hasAnimation(0)) {
+ // Begin title screen background animation
+ _vm->_anim->setFrameTime(0, 100);
- event.type = ONESHOT_EVENT;
- event.code = ANIM_EVENT;
- event.op = EVENT_PLAY;
- event.param = 0;
- event.time = 0;
+ event.type = ONESHOT_EVENT;
+ event.code = ANIM_EVENT;
+ event.op = EVENT_PLAY;
+ event.param = 0;
+ event.time = 0;
- q_event = _vm->_events->chain(q_event, &event);
+ q_event = _vm->_events->chain(q_event, &event);
+ }
// Queue game credits list
q_event = ITEQueueCredits(DISSOLVE_DURATION + 2000, CREDIT_DURATION1, n_credits1, credits1);