From 38edbfb4bcbdfe819a133ede25bd85b19d12df60 Mon Sep 17 00:00:00 2001 From: Strangerke Date: Mon, 10 Nov 2014 10:28:29 +0100 Subject: ACCESS: Little cleanup in roomMenu --- engines/access/amazon/amazon_room.cpp | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'engines/access/amazon/amazon_room.cpp') diff --git a/engines/access/amazon/amazon_room.cpp b/engines/access/amazon/amazon_room.cpp index fb849d27fa..db46b4836c 100644 --- a/engines/access/amazon/amazon_room.cpp +++ b/engines/access/amazon/amazon_room.cpp @@ -148,13 +148,14 @@ void AmazonRoom::roomMenu() { SpriteResource *spr = new SpriteResource(_vm, iconData); delete iconData; - _vm->_screen->saveScreen(); - _vm->_screen->setDisplayScan(); - _vm->_destIn = _vm->_screen; // TODO: Redundant - _vm->_screen->plotImage(spr, 0, Common::Point(0, 177)); - _vm->_screen->plotImage(spr, 1, Common::Point(143, 177)); + Screen &screen = *_vm->_screen; + screen.saveScreen(); + screen.setDisplayScan(); + _vm->_destIn = &screen; // TODO: Redundant + screen.plotImage(spr, 0, Common::Point(0, 177)); + screen.plotImage(spr, 1, Common::Point(143, 177)); - _vm->_screen->restoreScreen(); + screen.restoreScreen(); delete spr; } -- cgit v1.2.3