diff options
author | Paul Gilbert | 2017-09-05 21:11:06 -0400 |
---|---|---|
committer | Paul Gilbert | 2017-09-05 21:11:06 -0400 |
commit | 0c2fc12756311baf3457718fae7e9394aea390b8 (patch) | |
tree | 4ce13fb3a31c2da4d79657ed7a1ddd3f3056fed5 /engines/titanic/pet_control/pet_real_life.cpp | |
parent | 128edeebda490794d0ce78d3d6d84beab29c2246 (diff) | |
download | scummvm-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_real_life.cpp')
-rw-r--r-- | engines/titanic/pet_control/pet_real_life.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/engines/titanic/pet_control/pet_real_life.cpp b/engines/titanic/pet_control/pet_real_life.cpp index 57d81c739e..ff87a2fab4 100644 --- a/engines/titanic/pet_control/pet_real_life.cpp +++ b/engines/titanic/pet_control/pet_real_life.cpp @@ -123,6 +123,12 @@ void CPetRealLife::addButton(CPetGlyph *glyph) { } } - +void CPetRealLife::syncSoundSettings() { + for (CPetGlyphs::iterator i = _glyphs.begin(); i != _glyphs.end(); ++i) { + CPetSound *sound = dynamic_cast<CPetSound *>(*i); + if (sound) + sound->setSliders(); + } +} } // End of namespace Titanic |