aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorFilippos Karapetis2007-06-15 18:28:44 +0000
committerFilippos Karapetis2007-06-15 18:28:44 +0000
commit5e587fde8e72a85646a31376925dd4bd08b3ca27 (patch)
treee77f9f109de76fa981dff503f5ceb385174c4845 /engines
parentfdafdbbe9cb668ce8951c627771900b69930085d (diff)
downloadscummvm-rg350-5e587fde8e72a85646a31376925dd4bd08b3ca27.tar.gz
scummvm-rg350-5e587fde8e72a85646a31376925dd4bd08b3ca27.tar.bz2
scummvm-rg350-5e587fde8e72a85646a31376925dd4bd08b3ca27.zip
Clear the forced text flag if it's set when a speech with forced text finishes. Now, ScummVM won't wait forever when talking to an actor after using the computer screen in the elder's screen at Ben's chapter in IHNM
svn-id: r27428
Diffstat (limited to 'engines')
-rw-r--r--engines/saga/actor.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/saga/actor.cpp b/engines/saga/actor.cpp
index b75b87e0a2..d1de018b0b 100644
--- a/engines/saga/actor.cpp
+++ b/engines/saga/actor.cpp
@@ -1106,6 +1106,8 @@ void Actor::handleSpeech(int msec) {
removeFirst = true;
}
_activeSpeech.playing = false;
+ if (_activeSpeech.speechFlags & kSpeakForceText)
+ _activeSpeech.speechFlags = 0;
if (_activeSpeech.actorIds[0] != 0) {
actor = getActor(_activeSpeech.actorIds[0]);
if (!(_activeSpeech.speechFlags & kSpeakNoAnimate)) {