aboutsummaryrefslogtreecommitdiff
path: root/saga
diff options
context:
space:
mode:
authorAndrew Kurushin2004-12-24 14:47:52 +0000
committerAndrew Kurushin2004-12-24 14:47:52 +0000
commitf0bc27f11c5fb638623108df3700b182433df947 (patch)
tree28d9807a42acc9767b2ace12fdbb97a35839b775 /saga
parentc8d8972dd0b6134aebd40d210c5f1c31d8435c00 (diff)
downloadscummvm-rg350-f0bc27f11c5fb638623108df3700b182433df947.tar.gz
scummvm-rg350-f0bc27f11c5fb638623108df3700b182433df947.tar.bz2
scummvm-rg350-f0bc27f11c5fb638623108df3700b182433df947.zip
- fixed actors state after end of speech
svn-id: r16297
Diffstat (limited to 'saga')
-rw-r--r--saga/actor.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/saga/actor.cpp b/saga/actor.cpp
index f46251bec7..6ada6e5b0d 100644
--- a/saga/actor.cpp
+++ b/saga/actor.cpp
@@ -324,6 +324,12 @@ void Actor::handleSpeech(int msec) {
removeFirst = true;
}
_activeSpeech.playing = false;
+ if (_activeSpeech.actorIds[0] != 0) {
+ actor = getActor(_activeSpeech.actorIds[0]);
+ if (!(_activeSpeech.speechFlags & kSpeakNoAnimate)) {
+ actor->currentAction = kActionWait;
+ }
+ }
}
if (removeFirst) {