aboutsummaryrefslogtreecommitdiff
path: root/engines/sherlock/tattoo/tattoo_talk.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2019-05-21 18:30:10 -0700
committerPaul Gilbert2019-05-21 18:30:10 -0700
commit64087716736ae9ec26813b8a0d62c98694503504 (patch)
tree7f1909bb20b01a84ce54dbc2c9939dc7213339b5 /engines/sherlock/tattoo/tattoo_talk.cpp
parent6a6506bec43cdab89fd49151822b1f76abe4804d (diff)
downloadscummvm-rg350-64087716736ae9ec26813b8a0d62c98694503504.tar.gz
scummvm-rg350-64087716736ae9ec26813b8a0d62c98694503504.tar.bz2
scummvm-rg350-64087716736ae9ec26813b8a0d62c98694503504.zip
SHERLOCK: RT: Fix Spanish crash talking to lady in Tailor shop
Diffstat (limited to 'engines/sherlock/tattoo/tattoo_talk.cpp')
-rw-r--r--engines/sherlock/tattoo/tattoo_talk.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/sherlock/tattoo/tattoo_talk.cpp b/engines/sherlock/tattoo/tattoo_talk.cpp
index 8eda7368ea..7a31431ce6 100644
--- a/engines/sherlock/tattoo/tattoo_talk.cpp
+++ b/engines/sherlock/tattoo/tattoo_talk.cpp
@@ -435,6 +435,10 @@ OpcodeReturn TattooTalk::cmdPlaySong(const byte *&str) {
OpcodeReturn TattooTalk::cmdRestorePeopleSequence(const byte *&str) {
int npcNum = *++str - 1;
+ // WORKAROUND: Fix script error talking to woman in Tailor shop
+ if (npcNum == 111 && _vm->getLanguage() == Common::ES_ESP)
+ npcNum = 5;
+
TattooPeople &people = *(TattooPeople *)_vm->_people;
TattooPerson &person = people[npcNum];
person._misc = 0;