diff options
author | Strangerke | 2014-11-10 10:28:29 +0100 |
---|---|---|
committer | Paul Gilbert | 2014-12-12 22:28:48 -0500 |
commit | 38edbfb4bcbdfe819a133ede25bd85b19d12df60 (patch) | |
tree | 7f882ff11a64f8add6cb414036c100e0b55a7b44 /engines | |
parent | 0ed120b9ff380bc59a96214c0e3ea2b60bb71c8f (diff) | |
download | scummvm-rg350-38edbfb4bcbdfe819a133ede25bd85b19d12df60.tar.gz scummvm-rg350-38edbfb4bcbdfe819a133ede25bd85b19d12df60.tar.bz2 scummvm-rg350-38edbfb4bcbdfe819a133ede25bd85b19d12df60.zip |
ACCESS: Little cleanup in roomMenu
Diffstat (limited to 'engines')
-rw-r--r-- | engines/access/amazon/amazon_room.cpp | 13 |
1 files changed, 7 insertions, 6 deletions
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; } |