aboutsummaryrefslogtreecommitdiff
path: root/scumm/sound.cpp
diff options
context:
space:
mode:
authorJames Brown2004-01-16 10:45:56 +0000
committerJames Brown2004-01-16 10:45:56 +0000
commitac5b7036c28a4137d4b7af7385d97e6e485f0767 (patch)
treeb9453259912d5f2c462d8107280ef83303e5fd14 /scumm/sound.cpp
parentbd3f51dfdfd563532a7cc228139dd60d8f6451a4 (diff)
downloadscummvm-rg350-ac5b7036c28a4137d4b7af7385d97e6e485f0767.tar.gz
scummvm-rg350-ac5b7036c28a4137d4b7af7385d97e6e485f0767.tar.bz2
scummvm-rg350-ac5b7036c28a4137d4b7af7385d97e6e485f0767.zip
Fix for bug #862263 - Maniac actors never stop talking. I know this could probably be neater :)
svn-id: r12430
Diffstat (limited to 'scumm/sound.cpp')
-rw-r--r--scumm/sound.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/sound.cpp b/scumm/sound.cpp
index 5f6c6c711f..5b7b7d13d3 100644
--- a/scumm/sound.cpp
+++ b/scumm/sound.cpp
@@ -414,7 +414,7 @@ void Sound::processSfxQueues() {
_talk_sound_mode = 0;
}
- const int act = _vm->VAR(_vm->VAR_TALK_ACTOR);
+ const int act = _vm->talkingActor();
if ((_sfxMode & 2) && act != 0) {
Actor *a;
bool b, finished;