[Scummvm-cvs-logs] scummvm master -> 586b7f21c1e7d23d63f51fb38c0aad208919b316

dreammaster dreammaster at scummvm.org
Thu Jun 11 14:52:13 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:
586b7f21c1 SHERLOCK: Fix displaying RT map when switching from another scene


Commit: 586b7f21c1e7d23d63f51fb38c0aad208919b316
    https://github.com/scummvm/scummvm/commit/586b7f21c1e7d23d63f51fb38c0aad208919b316
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2015-06-11T08:51:17-04:00

Commit Message:
SHERLOCK: Fix displaying RT map when switching from another scene

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 6a09477..7d071ec 100644
--- a/engines/sherlock/tattoo/tattoo_map.cpp
+++ b/engines/sherlock/tattoo/tattoo_map.cpp
@@ -123,7 +123,8 @@ int TattooMap::show() {
 	// Set text display positioning and scroll position
 	_oldTextBounds.left = _oldTextBounds.top = _oldTextBounds.right = _oldTextBounds.bottom = 0;
 	_textBounds.left = _textBounds.top = _textBounds.right = _textBounds.bottom = 0;
-	_currentScroll = _targetScroll = _bigPos;
+	_targetScroll = _bigPos;
+	_currentScroll = Common::Point(-1, -1);
 
 	do {
 		// Allow for event processing and get the current mouse position






More information about the Scummvm-git-logs mailing list