From a7479b4f5beb83e75379f868d5c19c23625eabe6 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Wed, 20 Sep 2017 06:43:10 -0400 Subject: TITANIC: DE: Add translations for playGlobalSound calls --- engines/titanic/game/end_credit_text.cpp | 3 ++- engines/titanic/game/end_sequence_control.cpp | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'engines/titanic') diff --git a/engines/titanic/game/end_credit_text.cpp b/engines/titanic/game/end_credit_text.cpp index 9af13133d6..8809799a27 100644 --- a/engines/titanic/game/end_credit_text.cpp +++ b/engines/titanic/game/end_credit_text.cpp @@ -21,6 +21,7 @@ */ #include "titanic/game/end_credit_text.h" +#include "titanic/translation.h" namespace Titanic { @@ -43,7 +44,7 @@ void CEndCreditText::load(SimpleFile *file) { } bool CEndCreditText::ActMsg(CActMsg *msg) { - playGlobalSound("z#41.wav", VOL_NORMAL, false, false, 0); + playGlobalSound(TRANSLATE("z#41.wav", "z#573.wav"), VOL_NORMAL, false, false, 0); createCredits(); _flag = true; return true; diff --git a/engines/titanic/game/end_sequence_control.cpp b/engines/titanic/game/end_sequence_control.cpp index 7041874368..e8bc04aa85 100644 --- a/engines/titanic/game/end_sequence_control.cpp +++ b/engines/titanic/game/end_sequence_control.cpp @@ -21,6 +21,7 @@ */ #include "titanic/game/end_sequence_control.h" +#include "titanic/translation.h" namespace Titanic { @@ -71,7 +72,7 @@ bool CEndSequenceControl::EnterRoomMsg(CEnterRoomMsg *msg) { petHide(); disableMouse(); addTimer(1, 1000, 0); - playGlobalSound("a#15.wav", VOL_NORMAL, true, true, 0, Audio::Mixer::kSpeechSoundType); + playGlobalSound(TRANSLATE("a#15.wav", "a#8.wav"), VOL_NORMAL, true, true, 0, Audio::Mixer::kSpeechSoundType); return true; } -- cgit v1.2.3