Skip to content

Commit

Permalink
SHERLOCK: RT: Fix showing Journal when in a scrolled scene
Browse files Browse the repository at this point in the history
  • Loading branch information
dreammaster committed Jul 26, 2015
1 parent fa51095 commit 3e0ba9f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions engines/sherlock/tattoo/tattoo_journal.cpp
Expand Up @@ -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");
Expand Down Expand Up @@ -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() {
Expand Down

0 comments on commit 3e0ba9f

Please sign in to comment.