[Scummvm-git-logs] scummvm master -> 77d06397f5d0dd4a41c3f0758f3e134ca19b7ba8

bluegr bluegr at gmail.com
Sat Dec 29 10:46:58 CET 2018


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
77d06397f5 SCI32: Fix QFG4 statue item description


Commit: 77d06397f5d0dd4a41c3f0758f3e134ca19b7ba8
    https://github.com/scummvm/scummvm/commit/77d06397f5d0dd4a41c3f0758f3e134ca19b7ba8
Author: Vhati (tvtronix at yahoo.com)
Date: 2018-12-29T11:46:54+02:00

Commit Message:
SCI32: Fix QFG4 statue item description

Fixes an inaccurate message when examining the statue, bug #10770

Changed paths:
    engines/sci/engine/message.cpp


diff --git a/engines/sci/engine/message.cpp b/engines/sci/engine/message.cpp
index 5d1607c..c182f6a 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





More information about the Scummvm-git-logs mailing list