diff options
| author | Eric Fry | 2018-06-25 22:21:51 +1000 |
|---|---|---|
| committer | Eugene Sandulenko | 2018-07-20 06:43:33 +0000 |
| commit | d77dd6c14ab6c41513ed282597a6da82289061e8 (patch) | |
| tree | dbe1fbbc37a2d155c68130aafc9024e9d7731462 /engines/illusions/threads | |
| parent | 92e74327e6cd92b9764c851f99f02a9fa238051f (diff) | |
| download | scummvm-rg350-d77dd6c14ab6c41513ed282597a6da82289061e8.tar.gz scummvm-rg350-d77dd6c14ab6c41513ed282597a6da82289061e8.tar.bz2 scummvm-rg350-d77dd6c14ab6c41513ed282597a6da82289061e8.zip | |
ILLUSIONS: Pause voice when entering in-game menu
Wire up load fail dialog when trying to restart from unsaved new game.
Diffstat (limited to 'engines/illusions/threads')
| -rw-r--r-- | engines/illusions/threads/talkthread_duckman.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/illusions/threads/talkthread_duckman.cpp b/engines/illusions/threads/talkthread_duckman.cpp index 42d9747810..fdfcc0ac4f 100644 --- a/engines/illusions/threads/talkthread_duckman.cpp +++ b/engines/illusions/threads/talkthread_duckman.cpp @@ -206,7 +206,7 @@ int TalkThread_Duckman::onUpdate() { void TalkThread_Duckman::onPause() { if (_status == 5) { if (!(_flags & 4)) { - // TODO audvocPauseVoice(); + _vm->_soundMan->pauseVoice(true); } if (!(_flags & 8)) _textDurationElapsed = getDurationElapsed(_textStartTime, _textEndTime); @@ -220,7 +220,7 @@ void TalkThread_Duckman::onUnpause() { _vm->_soundMan->cueVoice((char*)talkEntry->_voiceName); } else if (_status == 5) { if (!(_flags & 4)) { - // TODO audvocUnpauseVoice(); + _vm->_soundMan->pauseVoice(false); } if (!(_flags & 8)) { _textStartTime = getCurrentTime(); |
