aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/agos/script_s1.cpp9
1 files changed, 6 insertions, 3 deletions
diff --git a/engines/agos/script_s1.cpp b/engines/agos/script_s1.cpp
index a81a363845..03aad7ebb9 100644
--- a/engines/agos/script_s1.cpp
+++ b/engines/agos/script_s1.cpp
@@ -362,10 +362,13 @@ void AGOSEngine_Simon1::os1_screenTextMsg() {
stopAnimateSimon2(2, vgaSpriteId + 2);
}
- // Several strings in the French version of Simon the Sorcerer 1 set the incorrect width,
+ // WORKAROUND: Several strings in the French version of Simon the Sorcerer 1 set the incorrect width,
// causing crashes, or glitches in subtitles. See bug #3512776 for example.
- if (getGameType() == GType_SIMON1 && _language == Common::FR_FRA && stringId == 33245) {
- tl->width = 96;
+ if (getGameType() == GType_SIMON1 && _language == Common::FR_FRA) {
+ if ((getFeatures() & GF_TALKIE) && stringId == 33219)
+ tl->width = 96;
+ if (!(getFeatures() & GF_TALKIE) && stringId == 33245)
+ tl->width = 96;
}
if (stringPtr != NULL && stringPtr[0] != 0 && (speechId == 0 || _subtitles))