aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/game/sweet_bowl.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2017-09-20 06:28:34 -0400
committerPaul Gilbert2017-09-20 06:28:34 -0400
commit7a184f0e7fa0af7eca0518af6b46be09fcf25bdc (patch)
tree0a3f1b23ba8b624dd04feb397187649a23ab08c3 /engines/titanic/game/sweet_bowl.cpp
parent661487c2b5c8376719d994fc9300cf2393dfce9f (diff)
downloadscummvm-rg350-7a184f0e7fa0af7eca0518af6b46be09fcf25bdc.tar.gz
scummvm-rg350-7a184f0e7fa0af7eca0518af6b46be09fcf25bdc.tar.bz2
scummvm-rg350-7a184f0e7fa0af7eca0518af6b46be09fcf25bdc.zip
TITANIC: DE: Add translations for loadSound calls
Diffstat (limited to 'engines/titanic/game/sweet_bowl.cpp')
-rw-r--r--engines/titanic/game/sweet_bowl.cpp9
1 files changed, 6 insertions, 3 deletions
diff --git a/engines/titanic/game/sweet_bowl.cpp b/engines/titanic/game/sweet_bowl.cpp
index a1d0dc2b01..81d93939d5 100644
--- a/engines/titanic/game/sweet_bowl.cpp
+++ b/engines/titanic/game/sweet_bowl.cpp
@@ -21,6 +21,7 @@
*/
#include "titanic/game/sweet_bowl.h"
+#include "titanic/translation.h"
namespace Titanic {
@@ -47,8 +48,8 @@ bool CSweetBowl::MovieEndMsg(CMovieEndMsg *msg) {
bool CSweetBowl::EnterViewMsg(CEnterViewMsg *msg) {
setVisible(false);
- loadSound("b#43.wav");
- loadSound("b#42.wav");
+ loadSound(TRANSLATE("b#43.wav", "b#26.wav"));
+ loadSound(TRANSLATE("b#42.wav", "b#25.wav"));
return true;
}
@@ -56,7 +57,9 @@ bool CSweetBowl::ActMsg(CActMsg *msg) {
if (msg->_action == "Jiggle") {
setVisible(true);
playMovie(MOVIE_WAIT_FOR_FINISH | MOVIE_NOTIFY_OBJECT);
- playSound(getRandomNumber(1) == 1 ? "b#42.wav" : "b#43.wav");
+ playSound(getRandomNumber(1) == 1 ?
+ TRANSLATE("b#42.wav", "b#25.wav") :
+ TRANSLATE("b#43.wav", "b#26.wav"));
}
petDisplayMessage(isEquals("BowlNutsRustler") ?