aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/game/missiveomat.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2017-09-20 22:33:18 -0400
committerPaul Gilbert2017-09-20 22:33:18 -0400
commit9127f5245fe10bc9de8efea5a9050d980f3ef241 (patch)
tree306bdcaa2292fe71fa8eab212af4d4952723db9d /engines/titanic/game/missiveomat.cpp
parent32735d59e82d178088b006ba583000fc37995b37 (diff)
downloadscummvm-rg350-9127f5245fe10bc9de8efea5a9050d980f3ef241.tar.gz
scummvm-rg350-9127f5245fe10bc9de8efea5a9050d980f3ef241.tar.bz2
scummvm-rg350-9127f5245fe10bc9de8efea5a9050d980f3ef241.zip
TITANIC: DE: Adding sound translations
Diffstat (limited to 'engines/titanic/game/missiveomat.cpp')
-rw-r--r--engines/titanic/game/missiveomat.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/engines/titanic/game/missiveomat.cpp b/engines/titanic/game/missiveomat.cpp
index c2f181d529..e60f695e88 100644
--- a/engines/titanic/game/missiveomat.cpp
+++ b/engines/titanic/game/missiveomat.cpp
@@ -24,6 +24,7 @@
#include "titanic/core/room_item.h"
#include "titanic/support/files_manager.h"
#include "titanic/titanic.h"
+#include "titanic/translation.h"
namespace Titanic {
@@ -90,7 +91,7 @@ bool CMissiveOMat::KeyCharMsg(CKeyCharMsg *msg) {
if (!msg->_key)
return true;
- playSound("z#228.wav");
+ playSound(TRANSLATE("z#228.wav", "z#134.wav"));
editMsg._mode = EDIT_KEYPRESS;
editMsg._param = msg->_key;
editMsg.execute(loginControl);
@@ -120,7 +121,7 @@ bool CMissiveOMat::KeyCharMsg(CKeyCharMsg *msg) {
if (!msg->_key)
return true;
- playSound("z#228.wav");
+ playSound(TRANSLATE("z#228.wav", "z#134.wav"));
editMsg._mode = EDIT_KEYPRESS;
editMsg._param = msg->_key;
editMsg.execute(loginControl);