[Scummvm-git-logs] scummvm branch-2-5 -> 04d062c2b1ced36bc802b6b1f64f699636778392
eriktorbjorn
noreply at scummvm.org
Wed Dec 15 06:46:34 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:
04d062c2b1 SHERLOCK: Fix glitch on Scalpel overhead map
Commit: 04d062c2b1ced36bc802b6b1f64f699636778392
https://github.com/scummvm/scummvm/commit/04d062c2b1ced36bc802b6b1f64f699636778392
Author: Torbjörn Andersson (eriktorbjorn at users.sourceforge.net)
Date: 2021-12-15T07:46:18+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 bf845c38b9..4f49cf881f 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