[Scummvm-git-logs] scummvm master -> d60910483407086f1207cea050058c26c1495ed8

dreammaster dreammaster at scummvm.org
Sat Aug 28 22:53:02 UTC 2021


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
d609104834 SHERLOCK: Flower girl first greeting now interrupts actions


Commit: d60910483407086f1207cea050058c26c1495ed8
    https://github.com/scummvm/scummvm/commit/d60910483407086f1207cea050058c26c1495ed8
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2021-08-28T15:52:30-07:00

Commit Message:
SHERLOCK: Flower girl first greeting now interrupts actions

Changed paths:
    engines/sherlock/scalpel/scalpel_talk.cpp


diff --git a/engines/sherlock/scalpel/scalpel_talk.cpp b/engines/sherlock/scalpel/scalpel_talk.cpp
index 55cf820726..80d7d7bae2 100644
--- a/engines/sherlock/scalpel/scalpel_talk.cpp
+++ b/engines/sherlock/scalpel/scalpel_talk.cpp
@@ -187,6 +187,11 @@ void ScalpelTalk::talkTo(const Common::String filename) {
 		// WORKAROUND: Original game bug causes the results of testing the powdery substance
 		// to disappear too quickly. Introduce a delay to allow it to be properly displayed
 		ui._menuCounter = 30;
+	} else if (filename == "Lesl24z.tlk") {
+		// WORKAROUND: Walking to the flower girl the first time triggers
+		// this automatic talk. This should abort any other action, such
+		// as trying to look at her, else the UI gets corrupted
+		_talkToAbort = true;
 	}
 }
 




More information about the Scummvm-git-logs mailing list