diff options
author | Paul Gilbert | 2017-09-21 20:27:18 -0400 |
---|---|---|
committer | Paul Gilbert | 2017-09-21 20:27:18 -0400 |
commit | 8f6649cfb13be47f9fadfe50d31a0c0f2b8a28d1 (patch) | |
tree | 639fc14641f3937b35dbc19703339017277a85bb /engines/titanic/moves | |
parent | 9eb3e30fb2cda2315cc8e16959fab4215d230c8c (diff) | |
download | scummvm-rg350-8f6649cfb13be47f9fadfe50d31a0c0f2b8a28d1.tar.gz scummvm-rg350-8f6649cfb13be47f9fadfe50d31a0c0f2b8a28d1.tar.bz2 scummvm-rg350-8f6649cfb13be47f9fadfe50d31a0c0f2b8a28d1.zip |
TITANIC: DE: Add miscellaneous missed sound translations
Diffstat (limited to 'engines/titanic/moves')
-rw-r--r-- | engines/titanic/moves/restricted_move.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/engines/titanic/moves/restricted_move.cpp b/engines/titanic/moves/restricted_move.cpp index 52ff280437..279380a93c 100644 --- a/engines/titanic/moves/restricted_move.cpp +++ b/engines/titanic/moves/restricted_move.cpp @@ -21,6 +21,7 @@ */ #include "titanic/moves/restricted_move.h" +#include "titanic/translation.h" namespace Titanic { @@ -54,11 +55,12 @@ bool CRestrictedMove::MouseButtonDownMsg(CMouseButtonDownMsg *msg) { } else if (classNum != UNCHECKED) { petDisplayMessage(1, CLASS_NOT_ALLOWED_AT_DEST); } else if (compareRoomNameTo("EmbLobby")) { - playSound("a#17.wav"); + if (g_language != Common::DE_DEU) + playSound("a#17.wav"); petDisplayMessage(1, CHECK_IN_AT_RECEPTION); } else if (compareViewNameTo("Titania.Node 1.S")) { CProximity prox(Audio::Mixer::kSpeechSoundType); - playSound("z#226.wav", prox); + playSound(TRANSLATE("z#226.wav", "z#132.wav"), prox); changeView(_destination); } |