aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/game/cdrom_tray.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2016-04-10 10:20:06 -0400
committerPaul Gilbert2016-04-10 10:20:06 -0400
commit62b087adce4a0fdd0ff6a99ed5a9843ec0b722be (patch)
treef6356a56a1eefbb3dd4160adf69e9d00c17881d4 /engines/titanic/game/cdrom_tray.cpp
parent78d03f9784d17f65b29e5b6836d23d8f494d3c7c (diff)
downloadscummvm-rg350-62b087adce4a0fdd0ff6a99ed5a9843ec0b722be.tar.gz
scummvm-rg350-62b087adce4a0fdd0ff6a99ed5a9843ec0b722be.tar.bz2
scummvm-rg350-62b087adce4a0fdd0ff6a99ed5a9843ec0b722be.zip
TITANIC: Fleshing out CTelevision::MovieEndMsg
Diffstat (limited to 'engines/titanic/game/cdrom_tray.cpp')
-rw-r--r--engines/titanic/game/cdrom_tray.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/engines/titanic/game/cdrom_tray.cpp b/engines/titanic/game/cdrom_tray.cpp
index 77ee539c57..5f576d1263 100644
--- a/engines/titanic/game/cdrom_tray.cpp
+++ b/engines/titanic/game/cdrom_tray.cpp
@@ -57,7 +57,7 @@ bool CCDROMTray::ActMsg(CActMsg *msg) {
if (_state) {
if (_insertedCD == "None") {
fn1(55, 65, 0);
- soundProximity("a#35.wav", 50, 0, 0);
+ playSound("a#35.wav", 50, 0, 0);
_state = 0;
} else {
CTreeItem *treeItem = getRoom()->findByName(_insertedCD);
@@ -71,24 +71,24 @@ bool CCDROMTray::ActMsg(CActMsg *msg) {
}
} else if (_insertedCD == "None") {
fn1(44, 54, 0);
- soundProximity("a#34.wav", 50, 0, 0);
+ playSound("a#34.wav", 50, 0, 0);
_state = 1;
} else if (_insertedCD == "newCD1" || _insertedCD == "newCD2") {
fn1(22, 32, 0);
- soundProximity("a#34.wav", 50, 0, 0);
+ playSound("a#34.wav", 50, 0, 0);
_state = 1;
} else if (_insertedCD == "newSTCD") {
fn1(0, 10, 0);
- soundProximity("a#34.wav", 50, 0, 0);
+ playSound("a#34.wav", 50, 0, 0);
_state = 1;
}
} else if (_state) {
if (msg->_action == "newCD1" || msg->_action == "newCD2") {
fn1(33, 43, 4);
- soundProximity("a#35.wav", 50, 0, 0);
+ playSound("a#35.wav", 50, 0, 0);
} else if (msg->_action == "newSTCD") {
fn1(11, 21, 4);
- soundProximity("a#35.wav", 50, 0, 0);
+ playSound("a#35.wav", 50, 0, 0);
} else {
return true;
}