[Scummvm-cvs-logs] scummvm master -> 7c2c5208a3e1f369cbe889adaed93be1940eb959

dreammaster dreammaster at scummvm.org
Sun Jul 12 16:44:57 CEST 2015


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:
7c2c5208a3 SHERLOCK: RT: Fix showing map location close-up when map is scrolled


Commit: 7c2c5208a3e1f369cbe889adaed93be1940eb959
    https://github.com/scummvm/scummvm/commit/7c2c5208a3e1f369cbe889adaed93be1940eb959
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2015-07-12T10:44:01-04:00

Commit Message:
SHERLOCK: RT: Fix showing map location close-up when map is scrolled

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 1564bbd..3bd22cd 100644
--- a/engines/sherlock/tattoo/tattoo_map.cpp
+++ b/engines/sherlock/tattoo/tattoo_map.cpp
@@ -355,6 +355,9 @@ void TattooMap::showCloseUp(int closeUpNum) {
 	Events &events = *_vm->_events;
 	Screen &screen = *_vm->_screen;
 
+	// Reset scroll position
+	screen._currentScroll = Common::Point(0, 0);
+
 	// Get the closeup images
 	Common::String fname = Common::String::format("res%02d.vgs", closeUpNum + 1);
 	ImageFile pic(fname);






More information about the Scummvm-git-logs mailing list