From 3e0ba9feee2a9b1be641d8310ee7ee500ad2f554 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Sun, 26 Jul 2015 15:31:42 -0400 Subject: SHERLOCK: RT: Fix showing Journal when in a scrolled scene --- engines/sherlock/tattoo/tattoo_journal.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/engines/sherlock/tattoo/tattoo_journal.cpp b/engines/sherlock/tattoo/tattoo_journal.cpp index 6df5ee7458..6c33971357 100644 --- a/engines/sherlock/tattoo/tattoo_journal.cpp +++ b/engines/sherlock/tattoo/tattoo_journal.cpp @@ -49,6 +49,9 @@ void TattooJournal::show() { Screen &screen = *_vm->_screen; TattooUserInterface &ui = *(TattooUserInterface *)_vm->_ui; byte palette[PALETTE_SIZE]; + + Common::Point oldScroll = screen._currentScroll; + screen._currentScroll = Common::Point(0, 0); // Load journal images _journalImages = new ImageFile("journal.vgs"); @@ -95,6 +98,9 @@ void TattooJournal::show() { // Free the images delete _journalImages; + + // Reset back to whatever scroll was active for the screen + screen._currentScroll = oldScroll; } void TattooJournal::handleKeyboardEvents() { -- cgit v1.2.3