aboutsummaryrefslogtreecommitdiff
path: root/saga/sthread.cpp
diff options
context:
space:
mode:
authorTorbjörn Andersson2005-01-05 07:13:15 +0000
committerTorbjörn Andersson2005-01-05 07:13:15 +0000
commit935f320e1ad51f0273edfa2b94d70e45c215ebda (patch)
treec24e723a997249d47d11b3902c358c2dacef1470 /saga/sthread.cpp
parent41b914e773da70b17b83eec69bfb9c2a14ea13f8 (diff)
downloadscummvm-rg350-935f320e1ad51f0273edfa2b94d70e45c215ebda.tar.gz
scummvm-rg350-935f320e1ad51f0273edfa2b94d70e45c215ebda.tar.bz2
scummvm-rg350-935f320e1ad51f0273edfa2b94d70e45c215ebda.zip
Fixed bad speech/script regression.
svn-id: r16436
Diffstat (limited to 'saga/sthread.cpp')
-rw-r--r--saga/sthread.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/saga/sthread.cpp b/saga/sthread.cpp
index 378633102d..3b925f16c0 100644
--- a/saga/sthread.cpp
+++ b/saga/sthread.cpp
@@ -773,6 +773,7 @@ void Script::runThread(SCRIPT_THREAD *thread, int instr_limit) {
if (!(speechFlags & kSpeakAsync)) {
thread->wait(kWaitTypeSpeech);
+ thread->i_offset = scriptS.pos();
return;
}
}