aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/game/speech_dispensor.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2017-09-21 20:06:35 -0400
committerPaul Gilbert2017-09-21 20:06:35 -0400
commit9eb3e30fb2cda2315cc8e16959fab4215d230c8c (patch)
tree532f6e6b919fb1f0b690aade6bc5f92f54757f82 /engines/titanic/game/speech_dispensor.cpp
parent8547c89b86f0be02c4b3ef8e8adb4d5f96cf8432 (diff)
downloadscummvm-rg350-9eb3e30fb2cda2315cc8e16959fab4215d230c8c.tar.gz
scummvm-rg350-9eb3e30fb2cda2315cc8e16959fab4215d230c8c.tar.bz2
scummvm-rg350-9eb3e30fb2cda2315cc8e16959fab4215d230c8c.zip
TITANIC: DE: More sound translations
Diffstat (limited to 'engines/titanic/game/speech_dispensor.cpp')
-rw-r--r--engines/titanic/game/speech_dispensor.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/engines/titanic/game/speech_dispensor.cpp b/engines/titanic/game/speech_dispensor.cpp
index 7f5580abb5..460cf0fdc1 100644
--- a/engines/titanic/game/speech_dispensor.cpp
+++ b/engines/titanic/game/speech_dispensor.cpp
@@ -21,6 +21,7 @@
*/
#include "titanic/game/speech_dispensor.h"
+#include "titanic/translation.h"
namespace Titanic {
@@ -85,7 +86,7 @@ bool CSpeechDispensor::FrameMsg(CFrameMsg *msg) {
switch (_state) {
case 0:
- playSound("z#93.wav");
+ playSound(TRANSLATE("z#93.wav", "z#624.wav"));
if (_seasonNum == SEASON_WINTER) {
petDisplayMessage(1, FROZEN_TO_BRANCH);
_hitCounter = 0;
@@ -120,7 +121,7 @@ bool CSpeechDispensor::FrameMsg(CFrameMsg *msg) {
bool CSpeechDispensor::MouseButtonUpMsg(CMouseButtonUpMsg *msg) {
if (!_speechFallen) {
- playSound("z#93.wav");
+ playSound(TRANSLATE("z#93.wav", "z#624.wav"));
if (_failureType) {
petDisplayMessage(1, OUT_OF_REACH);
} else {