Applied patch #1093830, with slight modifications proposed by Fingolfin.

svn-id: r16396
This commit is contained in:
Torbjörn Andersson 2004-12-31 17:51:45 +00:00
parent c27969d5db
commit cab8e3a66d

View file

@ -2690,7 +2690,13 @@ void ScummEngine_v5::decodeParseString() {
}
break;
case 15: // SO_TEXTSTRING
printString(textSlot, _scriptPointer);
// WORKAROUND: This happens when Chaos introduces
// herself to bishop Mandible. Of all the places to put
// a typo...
if (_gameId == GID_LOOM256 && strcmp((const char *) _scriptPointer, "I am Choas.") == 0)
printString(textSlot, (const byte *) "I am Chaos.");
else
printString(textSlot, _scriptPointer);
_scriptPointer += resStrLen(_scriptPointer) + 1;