From 5e587fde8e72a85646a31376925dd4bd08b3ca27 Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Fri, 15 Jun 2007 18:28:44 +0000 Subject: 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 --- engines/saga/actor.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'engines/saga') 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)) { -- cgit v1.2.3