aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWillem Jan Palenstijn2011-11-16 20:05:48 +0100
committerWillem Jan Palenstijn2011-11-16 20:12:16 +0100
commitd8ea08f42546518a30e4aeaaf54ded920cd7e5de (patch)
tree3f7c674fbd5f67241ef79fde188afb2db73a5440
parent8012c3274e2103bf8ce79feda05b46f87df8519b (diff)
downloadscummvm-rg350-d8ea08f42546518a30e4aeaaf54ded920cd7e5de.tar.gz
scummvm-rg350-d8ea08f42546518a30e4aeaaf54ded920cd7e5de.tar.bz2
scummvm-rg350-d8ea08f42546518a30e4aeaaf54ded920cd7e5de.zip
DREAMWEB: Hopefully fix loading speech
The call to loadspeech() in setuptimedtemp() needs al set correctly, while the C++ wrapper skipped this.
-rw-r--r--engines/dreamweb/stubs.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/dreamweb/stubs.cpp b/engines/dreamweb/stubs.cpp
index fe983d4b07..df4ed52421 100644
--- a/engines/dreamweb/stubs.cpp
+++ b/engines/dreamweb/stubs.cpp
@@ -422,6 +422,7 @@ void DreamGenContext::setuptimedtemp(uint8 textIndex, uint8 voiceIndex, uint8 x,
dh = voiceIndex;
cl = 'T';
ah = 0;
+ al = textIndex;
loadspeech();
if (data.byte(kSpeechloaded) == 1) {
al = 50+12;