aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/pet_control/pet_control.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2017-09-05 21:11:06 -0400
committerPaul Gilbert2017-09-05 21:11:06 -0400
commit0c2fc12756311baf3457718fae7e9394aea390b8 (patch)
tree4ce13fb3a31c2da4d79657ed7a1ddd3f3056fed5 /engines/titanic/pet_control/pet_control.cpp
parent128edeebda490794d0ce78d3d6d84beab29c2246 (diff)
downloadscummvm-rg350-0c2fc12756311baf3457718fae7e9394aea390b8.tar.gz
scummvm-rg350-0c2fc12756311baf3457718fae7e9394aea390b8.tar.bz2
scummvm-rg350-0c2fc12756311baf3457718fae7e9394aea390b8.zip
TITANIC: Hook up in-game sound sliders to ScummVM volumes
Diffstat (limited to 'engines/titanic/pet_control/pet_control.cpp')
-rw-r--r--engines/titanic/pet_control/pet_control.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/titanic/pet_control/pet_control.cpp b/engines/titanic/pet_control/pet_control.cpp
index cfd209f763..a86a72f99d 100644
--- a/engines/titanic/pet_control/pet_control.cpp
+++ b/engines/titanic/pet_control/pet_control.cpp
@@ -562,6 +562,10 @@ bool CPetControl::checkNode(const CString &name) {
return nameLower.contains(str);
}
+void CPetControl::syncSoundSettings() {
+ _realLife.syncSoundSettings();
+}
+
void CPetControl::playSound(int soundNum) {
CTreeItem *player = getHiddenObject("PETSoundPlayer");
if (player) {