diff options
author | Paul Gilbert | 2019-05-21 18:30:10 -0700 |
---|---|---|
committer | Paul Gilbert | 2019-05-21 18:30:10 -0700 |
commit | 64087716736ae9ec26813b8a0d62c98694503504 (patch) | |
tree | 7f1909bb20b01a84ce54dbc2c9939dc7213339b5 /engines/sherlock/tattoo/tattoo_talk.cpp | |
parent | 6a6506bec43cdab89fd49151822b1f76abe4804d (diff) | |
download | scummvm-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.cpp | 4 |
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; |