aboutsummaryrefslogtreecommitdiff
path: root/engines/sherlock
diff options
context:
space:
mode:
authorPaul Gilbert2015-12-01 20:23:29 -0500
committerPaul Gilbert2015-12-01 20:23:29 -0500
commit2e3ecb1be89e7744f1a4dff6309404f0833407ec (patch)
tree878bd9ead9bf99956409a7d5d62fc42140fe2e80 /engines/sherlock
parent3a574272b83cadf175cfb50a42fef0a126116ac6 (diff)
downloadscummvm-rg350-2e3ecb1be89e7744f1a4dff6309404f0833407ec.tar.gz
scummvm-rg350-2e3ecb1be89e7744f1a4dff6309404f0833407ec.tar.bz2
scummvm-rg350-2e3ecb1be89e7744f1a4dff6309404f0833407ec.zip
SHERLOCK: SS: Fix crash moving box at Tabbacconists
Diffstat (limited to 'engines/sherlock')
-rw-r--r--engines/sherlock/talk.cpp4
1 files changed, 4 insertions, 0 deletions
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;