aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTorbjörn Andersson2004-12-31 17:51:45 +0000
committerTorbjörn Andersson2004-12-31 17:51:45 +0000
commitcab8e3a66d65c0a53dcde6d025f4c43922da82a8 (patch)
tree1e32d96a3bc2bdf3e353f8cb7a2c251c928d0981
parentc27969d5db3ad539655a22f68ae415f5de65664e (diff)
downloadscummvm-rg350-cab8e3a66d65c0a53dcde6d025f4c43922da82a8.tar.gz
scummvm-rg350-cab8e3a66d65c0a53dcde6d025f4c43922da82a8.tar.bz2
scummvm-rg350-cab8e3a66d65c0a53dcde6d025f4c43922da82a8.zip
Applied patch #1093830, with slight modifications proposed by Fingolfin.
svn-id: r16396
-rw-r--r--scumm/script_v5.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/scumm/script_v5.cpp b/scumm/script_v5.cpp
index e1fdf8a298..6fd26b8603 100644
--- a/scumm/script_v5.cpp
+++ b/scumm/script_v5.cpp
@@ -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;