aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Gilbert2015-06-11 08:51:17 -0400
committerPaul Gilbert2015-06-11 08:51:17 -0400
commit586b7f21c1e7d23d63f51fb38c0aad208919b316 (patch)
treeba142b694e1ac760148d6df09e053102449f0f8e
parent40a3a3b8353924b7bec4237d622e6ddddaf2aef8 (diff)
downloadscummvm-rg350-586b7f21c1e7d23d63f51fb38c0aad208919b316.tar.gz
scummvm-rg350-586b7f21c1e7d23d63f51fb38c0aad208919b316.tar.bz2
scummvm-rg350-586b7f21c1e7d23d63f51fb38c0aad208919b316.zip
SHERLOCK: Fix displaying RT map when switching from another scene
-rw-r--r--engines/sherlock/tattoo/tattoo_map.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/sherlock/tattoo/tattoo_map.cpp b/engines/sherlock/tattoo/tattoo_map.cpp
index 6a09477c89..7d071ec1dd 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