aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/game/hammer_dispensor_button.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/hammer_dispensor_button.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/hammer_dispensor_button.cpp')
-rw-r--r--engines/titanic/game/hammer_dispensor_button.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/engines/titanic/game/hammer_dispensor_button.cpp b/engines/titanic/game/hammer_dispensor_button.cpp
index 661a92eb17..275ef204b2 100644
--- a/engines/titanic/game/hammer_dispensor_button.cpp
+++ b/engines/titanic/game/hammer_dispensor_button.cpp
@@ -21,6 +21,7 @@
*/
#include "titanic/game/hammer_dispensor_button.h"
+#include "titanic/translation.h"
namespace Titanic {
@@ -68,7 +69,7 @@ bool CHammerDispensorButton::PuzzleSolvedMsg(CPuzzleSolvedMsg *msg) {
}
bool CHammerDispensorButton::MouseButtonUpMsg(CMouseButtonUpMsg *msg) {
- playSound("z#93.wav");
+ playSound(TRANSLATE("z#93.wav", "z#624.wav"));
petDisplayMessage(1, POKE_WITH_LONG_STICK);
return true;
}
@@ -97,7 +98,7 @@ bool CHammerDispensorButton::FrameMsg(CFrameMsg *msg) {
if (!_open) {
if (flag) {
- playSound("z#93.wav");
+ playSound(TRANSLATE("z#93.wav", "z#624.wav"));
if (++_hitCounter == 5) {
if (!_hammerTaken) {
CActMsg actMsg(_msgAction);