aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/game
diff options
context:
space:
mode:
authorPaul Gilbert2017-07-31 22:20:50 -0400
committerPaul Gilbert2017-07-31 22:20:50 -0400
commitbc29ee474a4e95b91c6be3a33fd67de2a402a112 (patch)
tree036a706f2cbf84553cfc84a8b3359466ac91e77b /engines/titanic/game
parenta42172485efb47638bd4cb27f7be8d32247a5605 (diff)
downloadscummvm-rg350-bc29ee474a4e95b91c6be3a33fd67de2a402a112.tar.gz
scummvm-rg350-bc29ee474a4e95b91c6be3a33fd67de2a402a112.tar.bz2
scummvm-rg350-bc29ee474a4e95b91c6be3a33fd67de2a402a112.zip
TITANIC: Handle brief freeze if prologue credits are skipped
Diffstat (limited to 'engines/titanic/game')
-rw-r--r--engines/titanic/game/credits.cpp12
1 files changed, 7 insertions, 5 deletions
diff --git a/engines/titanic/game/credits.cpp b/engines/titanic/game/credits.cpp
index 02c2b08441..8333343cde 100644
--- a/engines/titanic/game/credits.cpp
+++ b/engines/titanic/game/credits.cpp
@@ -61,11 +61,13 @@ bool CCredits::TimerMsg(CTimerMsg *msg) {
loadSound("a#16.wav");
loadSound("a#24.wav");
- playCutscene(0, 18);
- playGlobalSound("a#16.wav", VOL_NORMAL, false, false, 0);
- playCutscene(19, 642);
- playSound("a#24.wav");
- playCutscene(643, 750);
+ if (playCutscene(0, 18)) {
+ playGlobalSound("a#16.wav", VOL_NORMAL, false, false, 0);
+ if (playCutscene(19, 642)) {
+ playSound("a#24.wav");
+ playCutscene(643, 750);
+ }
+ }
COpeningCreditsMsg creditsMsg;
creditsMsg.execute("Service Elevator Entity");