diff options
author | Travis Howell | 2012-04-01 11:14:38 +1000 |
---|---|---|
committer | Travis Howell | 2012-04-01 11:15:10 +1000 |
commit | 23884773553341a619f98ae861274205ca1ffbfd (patch) | |
tree | 77298746b47a3d3e5021cd5f26b6f0aa3e2d1db7 | |
parent | 639c54a306f985a6ae5715312075722e818b14ec (diff) | |
download | scummvm-rg350-23884773553341a619f98ae861274205ca1ffbfd.tar.gz scummvm-rg350-23884773553341a619f98ae861274205ca1ffbfd.tar.bz2 scummvm-rg350-23884773553341a619f98ae861274205ca1ffbfd.zip |
AGOS: Fix bug #3512776 - SIMON1DOS French: Subtitle glitch in introduction.
-rw-r--r-- | engines/agos/script_s1.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/engines/agos/script_s1.cpp b/engines/agos/script_s1.cpp index a07c05b4fc..a81a363845 100644 --- a/engines/agos/script_s1.cpp +++ b/engines/agos/script_s1.cpp @@ -362,6 +362,12 @@ void AGOSEngine_Simon1::os1_screenTextMsg() { stopAnimateSimon2(2, vgaSpriteId + 2); } + // 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 (stringPtr != NULL && stringPtr[0] != 0 && (speechId == 0 || _subtitles)) printScreenText(vgaSpriteId, color, (const char *)stringPtr, tl->x, tl->y, tl->width); |