From ad7372b0c27f15e0f6313895c99963c9954758f8 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Sat, 13 Feb 2016 19:44:39 -0500 Subject: SHERLOCK: Fix for German version using hatpin/needle in Pratt's pillow In Pratt's Loft, the player can probe the pillow with either the needle or the hatpin. However, the German version accidentally set up use actions for the hatpin twice, resulting in a crash if you tried to use it --- engines/sherlock/objects.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'engines/sherlock/objects.cpp') diff --git a/engines/sherlock/objects.cpp b/engines/sherlock/objects.cpp index 2a728f6ec9..a89b8dce86 100644 --- a/engines/sherlock/objects.cpp +++ b/engines/sherlock/objects.cpp @@ -1061,6 +1061,11 @@ void Object::load(Common::SeekableReadStream &s, bool isRoseTattoo) { for (int idx = 0; idx < 6; ++idx) _use[idx].load(s, true); + // WORKAROUND: Fix German version using hatpin/pin in pillow in Pratt's loft + if (_use[1]._target == "Nadel" && _use[1]._verb == "Untersuche" + && _use[2]._target == "Nadel" && _use[2]._verb == "Untersuche") + _use[1]._target = "Alte Nadel"; + _quickDraw = s.readByte(); _scaleVal = s.readUint16LE(); _requiredFlag[1] = s.readSint16LE(); -- cgit v1.2.3