From 2e3ecb1be89e7744f1a4dff6309404f0833407ec Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Tue, 1 Dec 2015 20:23:29 -0500 Subject: SHERLOCK: SS: Fix crash moving box at Tabbacconists --- engines/sherlock/talk.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/engines/sherlock/talk.cpp b/engines/sherlock/talk.cpp index e9c52276f6..b239fd9fb7 100644 --- a/engines/sherlock/talk.cpp +++ b/engines/sherlock/talk.cpp @@ -994,6 +994,10 @@ OpcodeReturn Talk::cmdAdjustObjectSequence(const byte *&str) { _seqCount = str[1]; str += (str[0] & 127) + 2; + // WORKAROUND: Original German Scalpel crash when moving box at Tobacconists + if (_vm->getLanguage() == Common::DE_DEU && _scriptName == "Alfr30Z") + _seqCount = 16; + // Copy in the new sequence for (int idx = 0; idx < _seqCount; ++idx, ++str) scene._bgShapes[objId]._sequences[idx] = str[0] - 1; -- cgit v1.2.3