aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/game/cdrom_tray.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2017-09-17 11:21:37 -0400
committerPaul Gilbert2017-09-17 11:21:37 -0400
commitfe83d2b3f698039c563a572b62b0c182f7789e01 (patch)
treeaeedc2386a04e72d660152ebce96da70ad31e719 /engines/titanic/game/cdrom_tray.cpp
parente1a84e2be56f2fe0e3a5a97bf6c9da5510fcf063 (diff)
downloadscummvm-rg350-fe83d2b3f698039c563a572b62b0c182f7789e01.tar.gz
scummvm-rg350-fe83d2b3f698039c563a572b62b0c182f7789e01.tar.bz2
scummvm-rg350-fe83d2b3f698039c563a572b62b0c182f7789e01.zip
TITANIC: Fixes for sounds and Doorbot during German prologue
Diffstat (limited to 'engines/titanic/game/cdrom_tray.cpp')
-rw-r--r--engines/titanic/game/cdrom_tray.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/engines/titanic/game/cdrom_tray.cpp b/engines/titanic/game/cdrom_tray.cpp
index d6aa32c702..9d0904b511 100644
--- a/engines/titanic/game/cdrom_tray.cpp
+++ b/engines/titanic/game/cdrom_tray.cpp
@@ -23,6 +23,7 @@
#include "titanic/core/room_item.h"
#include "titanic/game/cdrom_tray.h"
#include "titanic/messages/messages.h"
+#include "titanic/titanic.h"
namespace Titanic {
@@ -59,7 +60,7 @@ bool CCDROMTray::ActMsg(CActMsg *msg) {
if (_insertedCD == "None") {
// No CD in tray
playMovie(55, 65, 0);
- playSound("a#35.wav", 50, 0, 0);
+ playSound(TRANSLATE("a#35.wav", "a#30.wav"), 50, 0, 0);
_isOpened = false;
} else {
// Ejecting tray with CD
@@ -85,19 +86,19 @@ bool CCDROMTray::ActMsg(CActMsg *msg) {
} else if (_insertedCD == "newSTCD") {
// Opening tray with Starship Titanic CD
playMovie(0, 10, 0);
- playSound("a#34.wav", 50, 0, 0);
+ playSound(TRANSLATE("a#34.wav", "a#29.wav"), 50, 0, 0);
_isOpened = true;
}
} else if (_isOpened) {
if (msg->_action == "newCD1" || msg->_action == "newCD2") {
// Standard CD dropped on CDROM Tray
playMovie(33, 43, MOVIE_NOTIFY_OBJECT);
- playSound("a#35.wav", 50, 0, 0);
+ playSound(TRANSLATE("a#35.wav", "a#30.wav"), 50, 0, 0);
} else if (msg->_action == "newSTCD") {
// Starship Titanic CD dropped on CDROM Tray
disableMouse();
playMovie(11, 21, MOVIE_NOTIFY_OBJECT);
- playSound("a#35.wav", 50, 0, 0);
+ playSound(TRANSLATE("a#35.wav", "a#30.wav"), 50, 0, 0);
} else {
return true;
}