From be4c87a48d5fedd8d48bc8d38683fa442b60505e Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Wed, 26 Aug 2015 19:40:54 -0400 Subject: SHERLOCK: RT: Workaround for Park Lake bug with Watson's dialogs --- engines/sherlock/tattoo/widget_text.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'engines/sherlock/tattoo') diff --git a/engines/sherlock/tattoo/widget_text.cpp b/engines/sherlock/tattoo/widget_text.cpp index 33330df2e2..86aa067301 100644 --- a/engines/sherlock/tattoo/widget_text.cpp +++ b/engines/sherlock/tattoo/widget_text.cpp @@ -100,6 +100,11 @@ void WidgetText::centerWindowOnSpeaker(int speaker) { // Check each NPC to see if they are the one that is talking for (int idx = 1; idx < MAX_CHARACTERS; ++idx) { + // WORKAROUND: Fixes an original game bug where the positioning for Watson's dialogs + // during conversations at the Park Lake lake scene is in the incorrect position + if (speaker == 1 && scene._currentScene == 30) + continue; + if (people[idx]._type == CHARACTER) { if (!scumm_strnicmp(people[idx]._npcName.c_str(), people._characters[speaker]._portrait, 4)) { // Place the window above the player -- cgit v1.2.3