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 | |
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
-rw-r--r-- | NEWS.md | 3 | ||||
-rw-r--r-- | engines/sherlock/tattoo/tattoo_talk.cpp | 4 |
2 files changed, 7 insertions, 0 deletions
@@ -58,6 +58,9 @@ For a more comprehensive changelog of the latest experimental code, see: - Fixed an issue in the wig maker room in the German version of SPY Fox 3: Operation Ozone which makes the game completable. +Sherlock: + - Fixed crash in Spanish version talking to lady in Tailor shop + SKY: - Added workaround for original game bug to improve intro and not cut off images which exist as fullscreen (320x200px) in the game data files. 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; |