aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorVhati2018-12-24 00:31:19 -0500
committerFilippos Karapetis2018-12-29 11:46:54 +0200
commit77d06397f5d0dd4a41c3f0758f3e134ca19b7ba8 (patch)
tree78e758f0ad03d0ad1eea8ad3686a93b04823d87c /engines
parent7a21e236035876c8ae581d4f9d61584c6385b89a (diff)
downloadscummvm-rg350-77d06397f5d0dd4a41c3f0758f3e134ca19b7ba8.tar.gz
scummvm-rg350-77d06397f5d0dd4a41c3f0758f3e134ca19b7ba8.tar.bz2
scummvm-rg350-77d06397f5d0dd4a41c3f0758f3e134ca19b7ba8.zip
SCI32: Fix QFG4 statue item description
Fixes an inaccurate message when examining the statue, bug #10770
Diffstat (limited to 'engines')
-rw-r--r--engines/sci/engine/message.cpp27
1 files changed, 27 insertions, 0 deletions
diff --git a/engines/sci/engine/message.cpp b/engines/sci/engine/message.cpp
index 5d1607ccee..c182f6a9a6 100644
--- a/engines/sci/engine/message.cpp
+++ b/engines/sci/engine/message.cpp
@@ -249,6 +249,33 @@ bool MessageState::getRecord(CursorStack &stack, bool recurse, MessageRecord &re
t.cond = 13;
}
+ if (g_sci->getGameId() == GID_QFG4 && stack.getModule() == 16 &&
+ t.noun == 49 && t.verb == 1 && t.cond == 0 && t.seq == 2) {
+ // Examining the statue inventory item from the monastery - bug #10770
+ // The description says "squid-like monster", yet the icon is
+ // clearly an insect. It turned Chief into "an enormous beetle". We
+ // change the phrase to "monstrous insect".
+ //
+ // Note: The German string contains accented characters.
+ // 0x84 "a with diaeresis"
+ // 0x94 "o with diaeresis"
+ //
+ // Values were pulled from SCI Companion's raw message data. They
+ // are escaped that way here, as encoded bytes.
+ record.tuple = t;
+ record.refTuple = MessageTuple();
+ record.talker = 99;
+ if (g_sci->getSciLanguage() == K_LANG_GERMAN) {
+ record.string = "Die groteske Skulptur eines schrecklichen, monstr\x94sen insekts ist sorgf\x84ltig in die Einkaufstasche eingewickelt.";
+ record.length = 112;
+ } else {
+ record.string = "Carefully wrapped in a shopping bag is the grotesque sculpture of a horrible, monstrous insect.";
+ record.length = 95;
+ }
+ delete reader;
+ return true;
+ }
+
if (g_sci->getGameId() == GID_QFG4 && stack.getModule() == 579 &&
t.noun == 0 && t.verb == 0 && t.cond == 0 && t.seq == 1) {
// Talking with the Leshy and telling him about "bush in goo" - bug #10137