aboutsummaryrefslogtreecommitdiff
path: root/scumm/sound.cpp
diff options
context:
space:
mode:
authorTravis Howell2004-07-15 12:26:10 +0000
committerTravis Howell2004-07-15 12:26:10 +0000
commit6a18e02a534e9e90a0734d49b1d7716f6436e45b (patch)
tree6bed11d728b876fc714513890610172c55849b07 /scumm/sound.cpp
parent95520634d32b1086f6eea7a1b93085d975af1363 (diff)
downloadscummvm-rg350-6a18e02a534e9e90a0734d49b1d7716f6436e45b.tar.gz
scummvm-rg350-6a18e02a534e9e90a0734d49b1d7716f6436e45b.tar.bz2
scummvm-rg350-6a18e02a534e9e90a0734d49b1d7716f6436e45b.zip
Actually use actor talkScript when required.
svn-id: r14217
Diffstat (limited to 'scumm/sound.cpp')
-rw-r--r--scumm/sound.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/scumm/sound.cpp b/scumm/sound.cpp
index aff38e969c..7b788fe81e 100644
--- a/scumm/sound.cpp
+++ b/scumm/sound.cpp
@@ -522,10 +522,10 @@ void Sound::processSfxQueues() {
if (_mouthSyncMode != b) {
_mouthSyncMode = b;
if (_talk_sound_frame != -1) {
- a->startAnimActor(_talk_sound_frame);
+ a->runActorTalkScript(_talk_sound_frame);
_talk_sound_frame = -1;
} else
- a->startAnimActor(b ? a->talkStopFrame : a->talkStartFrame);
+ a->runActorTalkScript(b ? a->talkStopFrame : a->talkStartFrame);
}
}
}