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
This commit is contained in:
Torbjörn Andersson 2021-11-30 10:01:32 +01:00 committed by Paul Gilbert
parent f9c6dc2f90
commit 454779e30a

View File

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