[Scummvm-git-logs] scummvm master -> 3d96f9e4f1e50f4bc6f262976a4ec7aa8ada9e93
eriktorbjorn
noreply at scummvm.org
Wed Dec 15 06:46:04 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:
3d96f9e4f1 SHERLOCK: Fix glitch on Scalpel overhead map
Commit: 3d96f9e4f1e50f4bc6f262976a4ec7aa8ada9e93
https://github.com/scummvm/scummvm/commit/3d96f9e4f1e50f4bc6f262976a4ec7aa8ada9e93
Author: Torbjörn Andersson (eriktorbjorn at users.sourceforge.net)
Date: 2021-12-15T07:44:07+01:00
Commit Message:
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.
Changed paths:
engines/sherlock/scalpel/scalpel_map.cpp
diff --git a/engines/sherlock/scalpel/scalpel_map.cpp b/engines/sherlock/scalpel/scalpel_map.cpp
index a82759abb4..04de10559c 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
More information about the Scummvm-git-logs
mailing list