From 04d062c2b1ced36bc802b6b1f64f699636778392 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torbj=C3=B6rn=20Andersson?= Date: Wed, 15 Dec 2021 07:44:07 +0100 Subject: [PATCH] SHERLOCK: Fix glitch on Scalpel overhead map When moving from one location to another, the Holmes icon should be removed from the old location when travel begins. I've added a missing restoreIcon() call, which seems to fix that. --- engines/sherlock/scalpel/scalpel_map.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/engines/sherlock/scalpel/scalpel_map.cpp b/engines/sherlock/scalpel/scalpel_map.cpp index bf845c38b9a..4f49cf881f3 100644 --- a/engines/sherlock/scalpel/scalpel_map.cpp +++ b/engines/sherlock/scalpel/scalpel_map.cpp @@ -404,6 +404,7 @@ void ScalpelMap::showPlaceName(int idx, bool highlighted) { int width = screen.stringWidth(name); if (!_cursorIndex) { + restoreIcon(); saveIcon(people[HOLMES]._imageFrame, _lDrawnPos); bool flipped = people[HOLMES]._sequenceNumber == MAP_DOWNLEFT || people[HOLMES]._sequenceNumber == MAP_LEFT