aboutsummaryrefslogtreecommitdiff
path: root/engines/simon/items.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/simon/items.cpp')
-rw-r--r--engines/simon/items.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/engines/simon/items.cpp b/engines/simon/items.cpp
index 5a9612fe9e..30fefaca7f 100644
--- a/engines/simon/items.cpp
+++ b/engines/simon/items.cpp
@@ -1246,12 +1246,16 @@ void SimonEngine::o1_scnTxtLongText(bool &cond, int &ret) {
uint color = getVarOrByte();
uint stringId = getVarOrByte();
uint speechId = 0;
+ TextLocation *tl;
const char *string_ptr = (const char *)getStringPtrByID(_stringIdArray3[stringId]);
- TextLocation *tl = getTextLocation(vgaSpriteId);
if (getFeatures() & GF_TALKIE)
speechId = _speechIdArray4[stringId];
+ if (getGameType() == GType_FF)
+ vgaSpriteId = 1;
+ tl = getTextLocation(vgaSpriteId);
+
if (_speech && speechId != 0)
playSpeech(speechId, vgaSpriteId);
if (string_ptr != NULL && _subtitles)