[Scummvm-git-logs] scummvm master -> 454779e30a112b5d2681b7f8114b5ff4f2236fc5
dreammaster
noreply at scummvm.org
Fri Dec 3 04:18:31 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:
454779e30a SHERLOCK: Fix Rose Tattoo glitch when opening map
Commit: 454779e30a112b5d2681b7f8114b5ff4f2236fc5
https://github.com/scummvm/scummvm/commit/454779e30a112b5d2681b7f8114b5ff4f2236fc5
Author: Torbjörn Andersson (eriktorbjorn at users.sourceforge.net)
Date: 2021-12-02T20:18:28-08:00
Commit Message:
SHERLOCK: Fix Rose Tattoo glitch when opening map
When the map was displayed, there would often be a noticeable glitch
where the map jumped from the upper left corner to the saved position.
This removes that initial map display and relies on scrolling to always
move it to the correct position.
This fixes #10850
Changed paths:
engines/sherlock/tattoo/tattoo_map.cpp
diff --git a/engines/sherlock/tattoo/tattoo_map.cpp b/engines/sherlock/tattoo/tattoo_map.cpp
index e432c255d8..8a6d742e39 100644
--- a/engines/sherlock/tattoo/tattoo_map.cpp
+++ b/engines/sherlock/tattoo/tattoo_map.cpp
@@ -117,10 +117,7 @@ int TattooMap::show() {
screen._backBuffer2.create(SHERLOCK_SCREEN_WIDTH * 2, SHERLOCK_SCREEN_HEIGHT * 2);
screen._backBuffer2.SHblitFrom(screen._backBuffer1);
- // Display the built map to the screen
- screen.slamArea(0, 0, SHERLOCK_SCREEN_WIDTH, SHERLOCK_SCREEN_HEIGHT);
-
- // Set initial scroll position
+ // Set initial scroll position, forcing the map to be displayed
_targetScroll = _bigPos;
screen._currentScroll = Common::Point(-1, -1);
More information about the Scummvm-git-logs
mailing list