AGOS: Fix bug #3512776 - SIMON1DOS French: Subtitle glitch in introduction.

This commit is contained in:
Travis Howell 2012-04-01 11:14:38 +10:00
parent 639c54a306
commit 2388477355

View File

@ -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);