diff options
author | Andrew Kurushin | 2004-12-24 14:47:52 +0000 |
---|---|---|
committer | Andrew Kurushin | 2004-12-24 14:47:52 +0000 |
commit | f0bc27f11c5fb638623108df3700b182433df947 (patch) | |
tree | 28d9807a42acc9767b2ace12fdbb97a35839b775 /saga/actor.cpp | |
parent | c8d8972dd0b6134aebd40d210c5f1c31d8435c00 (diff) | |
download | scummvm-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/actor.cpp')
-rw-r--r-- | saga/actor.cpp | 6 |
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) { |