diff options
author | Paul Gilbert | 2016-09-01 20:53:01 -0400 |
---|---|---|
committer | Paul Gilbert | 2016-09-01 20:53:01 -0400 |
commit | d9d10d9801d73baf368e4f34de2ec00c0263e552 (patch) | |
tree | a1ab111e3d1daf92c6d14208f65fa61494009887 /engines/titanic/true_talk | |
parent | 33737ea2dcd97026706dd75f8c2c27fa148c165a (diff) | |
download | scummvm-rg350-d9d10d9801d73baf368e4f34de2ec00c0263e552.tar.gz scummvm-rg350-d9d10d9801d73baf368e4f34de2ec00c0263e552.tar.bz2 scummvm-rg350-d9d10d9801d73baf368e4f34de2ec00c0263e552.zip |
TITANIC: Implement timed changes in volume like the original does
Diffstat (limited to 'engines/titanic/true_talk')
-rw-r--r-- | engines/titanic/true_talk/true_talk_manager.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/engines/titanic/true_talk/true_talk_manager.cpp b/engines/titanic/true_talk/true_talk_manager.cpp index c5fd43ebfd..085f0bd310 100644 --- a/engines/titanic/true_talk/true_talk_manager.cpp +++ b/engines/titanic/true_talk/true_talk_manager.cpp @@ -490,13 +490,13 @@ void CTrueTalkManager::playSpeech(TTtalker *talker, TTroomScript *roomScript, CV // Setup proximities CProximity p1, p2, p3; if (isParrot) { - p1._channel = 3; - p2._channel = 5; - p3._channel = 4; + p1._channelMode = 3; + p2._channelMode = 5; + p3._channelMode = 4; } else { - p1._channel = 0; - p2._channel = 1; - p3._channel = 2; + p1._channelMode = 0; + p2._channelMode = 1; + p3._channelMode = 2; } if (milli > 0) { @@ -513,7 +513,7 @@ void CTrueTalkManager::playSpeech(TTtalker *talker, TTroomScript *roomScript, CV p2._elevation = 0; } - _gameManager->_sound.stopChannel(p1._channel); + _gameManager->_sound.stopChannel(p1._channelMode); if (view) { p1._positioningMode = POSMODE_VECTOR; view->getPosition(p1._posX, p1._posY, p1._posZ); |