aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/game/end_explode_ship.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2017-07-29 21:20:40 -0400
committerPaul Gilbert2017-07-29 21:20:40 -0400
commit40818ac86ba253168876d01b4350cebd969d6c2f (patch)
tree6ddf5105712e499bb6d8dacb0e5712531e91ee04 /engines/titanic/game/end_explode_ship.cpp
parent6a7688ad103612781e0378e2d22b700eb50cfed2 (diff)
downloadscummvm-rg350-40818ac86ba253168876d01b4350cebd969d6c2f.tar.gz
scummvm-rg350-40818ac86ba253168876d01b4350cebd969d6c2f.tar.bz2
scummvm-rg350-40818ac86ba253168876d01b4350cebd969d6c2f.zip
TITANIC: Fix Bomb Explosion ending
Diffstat (limited to 'engines/titanic/game/end_explode_ship.cpp')
-rw-r--r--engines/titanic/game/end_explode_ship.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/titanic/game/end_explode_ship.cpp b/engines/titanic/game/end_explode_ship.cpp
index 633e47e668..2de9192319 100644
--- a/engines/titanic/game/end_explode_ship.cpp
+++ b/engines/titanic/game/end_explode_ship.cpp
@@ -76,7 +76,7 @@ bool CEndExplodeShip::TimerMsg(CTimerMsg *msg) {
actMsg.execute("EndGameCredits");
}
- if (msg->_action == "Room") {
+ if (msg->_action == "Boom") {
playMovie(550, 583, MOVIE_NOTIFY_OBJECT);
movieEvent(551);
}
@@ -85,7 +85,7 @@ bool CEndExplodeShip::TimerMsg(CTimerMsg *msg) {
}
bool CEndExplodeShip::MovieEndMsg(CMovieEndMsg *msg) {
- if (getMovieFrame() == 550) {
+ if (msg->_endFrame == 550) {
playSound("z#399.wav");
startAnimTimer("Boom", 4200, 0);
} else {