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.
This commit is contained in:
Torbjörn Andersson 2021-12-15 07:44:07 +01:00
parent 961a83a2b2
commit 04d062c2b1

View file

@ -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