diff options
Diffstat (limited to 'engines/titanic/game/end_explode_ship.cpp')
-rw-r--r-- | engines/titanic/game/end_explode_ship.cpp | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/engines/titanic/game/end_explode_ship.cpp b/engines/titanic/game/end_explode_ship.cpp index 2de9192319..5f90604fd7 100644 --- a/engines/titanic/game/end_explode_ship.cpp +++ b/engines/titanic/game/end_explode_ship.cpp @@ -21,6 +21,7 @@ */ #include "titanic/game/end_explode_ship.h" +#include "titanic/translation.h" namespace Titanic { @@ -53,9 +54,9 @@ bool CEndExplodeShip::ActMsg(CActMsg *msg) { } else if (msg->_action == "Disarm Bomb") { _isExploding = false; } else if (msg->_action == "TakeOff") { - loadSound("a#31.wav"); - loadSound("a#14.wav"); - playGlobalSound("a#13.wav", VOL_NORMAL, true, true, 0); + loadSound(TRANSLATE("a#31.wav", "a#26.wav")); + loadSound(TRANSLATE("a#14.wav", "a#7.wav")); + playGlobalSound(TRANSLATE("a#13.wav", "a#6.wav"), VOL_NORMAL, true, true, 0); addTimer(1, 10212, 0); } @@ -86,7 +87,7 @@ bool CEndExplodeShip::TimerMsg(CTimerMsg *msg) { bool CEndExplodeShip::MovieEndMsg(CMovieEndMsg *msg) { if (msg->_endFrame == 550) { - playSound("z#399.wav"); + playSound(TRANSLATE("z#399.wav", "a#10.wav")); startAnimTimer("Boom", 4200, 0); } else { addTimer(3, 8000, 0); @@ -97,9 +98,9 @@ bool CEndExplodeShip::MovieEndMsg(CMovieEndMsg *msg) { bool CEndExplodeShip::MovieFrameMsg(CMovieFrameMsg *msg) { if (msg->_frameNumber == 58) - playSound("a#31.wav", 70); + playSound(TRANSLATE("a#31.wav", "a#26.wav"), 70); else if (msg->_frameNumber == 551) - playSound("a#14.wav"); + playSound(TRANSLATE("a#14.wav", "a#7.wav")); return true; } |