[Scummvm-git-logs] scummvm branch-2-5 -> 3e77288e3cbeafd9627caf3c472db9a6ca0aeb54

dreammaster noreply at scummvm.org
Thu Dec 16 05:44:07 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:
3e77288e3c SHERLOCK: Fix Scalpel user interface regression


Commit: 3e77288e3cbeafd9627caf3c472db9a6ca0aeb54
    https://github.com/scummvm/scummvm/commit/3e77288e3cbeafd9627caf3c472db9a6ca0aeb54
Author: Torbjörn Andersson (eriktorbjorn at users.sourceforge.net)
Date: 2021-12-15T21:43:53-08:00

Commit Message:
SHERLOCK: Fix Scalpel user interface regression

In some cases (e.g. when Lestrade greets you at the scene of the murder)
the talk window wasn't erased properly. This was a regression from a
recent fix for the inventory not being updated when certain objects were
added, e.g. when examining the pendant. See bug #10841.

Changed paths:
    engines/sherlock/talk.cpp


diff --git a/engines/sherlock/talk.cpp b/engines/sherlock/talk.cpp
index 7809318b57..8ce258a820 100644
--- a/engines/sherlock/talk.cpp
+++ b/engines/sherlock/talk.cpp
@@ -429,7 +429,7 @@ void Talk::talkTo(const Common::String filename) {
 
 				if (IS_SERRATED_SCALPEL) {
 					if (!ui._lookScriptFlag) {
-						ui.drawInterface(2);
+						ui.banishWindow();
 						ui._menuMode = STD_MODE;
 						ui._windowBounds.top = CONTROLS_Y1;
 					}




More information about the Scummvm-git-logs mailing list