diff options
author | Paul Gilbert | 2017-09-20 20:53:12 -0400 |
---|---|---|
committer | Paul Gilbert | 2017-09-20 20:53:12 -0400 |
commit | 32735d59e82d178088b006ba583000fc37995b37 (patch) | |
tree | 04efa3f94687e8189ae68480ced7a3addf50e2a0 /engines/titanic/messages | |
parent | 7a58db8b92d58d81a3752140c7983de7595db13d (diff) | |
download | scummvm-rg350-32735d59e82d178088b006ba583000fc37995b37.tar.gz scummvm-rg350-32735d59e82d178088b006ba583000fc37995b37.tar.bz2 scummvm-rg350-32735d59e82d178088b006ba583000fc37995b37.zip |
TITANIC: DE: Adding sound translations
Diffstat (limited to 'engines/titanic/messages')
-rw-r--r-- | engines/titanic/messages/bilge_dispensor_event.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/titanic/messages/bilge_dispensor_event.cpp b/engines/titanic/messages/bilge_dispensor_event.cpp index c0bb289a00..f88ecbd2dc 100644 --- a/engines/titanic/messages/bilge_dispensor_event.cpp +++ b/engines/titanic/messages/bilge_dispensor_event.cpp @@ -23,6 +23,7 @@ #include "titanic/messages/bilge_dispensor_event.h" #include "titanic/events.h" #include "titanic/titanic.h" +#include "titanic/translation.h" namespace Titanic { @@ -66,7 +67,7 @@ bool CBilgeDispensorEvent::FrameMsg(CFrameMsg *msg) { if (getRandomNumber(2) == 0) { int volume = 20 + getRandomNumber(30); int balance = getRandomNumber(20) - 10; - _soundHandle = playSound("b#18.wav", volume, balance); + _soundHandle = playSound(TRANSLATE("b#18.wav", "b#102.wav"), volume, balance); } else { _ticksDelayEnd = ticks + 1000; } |