diff options
author | Paul Gilbert | 2014-12-18 21:45:55 -0500 |
---|---|---|
committer | Paul Gilbert | 2014-12-18 21:45:55 -0500 |
commit | 95aa9a13a6ca634af664a3ac4753faf8b8271fd9 (patch) | |
tree | 615660155e68cb536928160aa67225a5a97ea50d /engines/access/amazon/amazon_room.cpp | |
parent | 864cab5e477dc5792339e05c1687b78b92318d89 (diff) | |
download | scummvm-rg350-95aa9a13a6ca634af664a3ac4753faf8b8271fd9.tar.gz scummvm-rg350-95aa9a13a6ca634af664a3ac4753faf8b8271fd9.tar.bz2 scummvm-rg350-95aa9a13a6ca634af664a3ac4753faf8b8271fd9.zip |
ACCESS: Refactor most of ASurface statics to instance variables
Diffstat (limited to 'engines/access/amazon/amazon_room.cpp')
-rw-r--r-- | engines/access/amazon/amazon_room.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/access/amazon/amazon_room.cpp b/engines/access/amazon/amazon_room.cpp index 8174969a3d..29742f66bd 100644 --- a/engines/access/amazon/amazon_room.cpp +++ b/engines/access/amazon/amazon_room.cpp @@ -134,8 +134,8 @@ void AmazonRoom::setupRoom() { // WORKAROUND: The original engine doesn't handle vertical scrolling rooms Screen &screen = *_vm->_screen; if (screen._vWindowHeight == (_playFieldHeight - 1)) { - screen._scrollRow = 1; - screen._scrollY = 0; + _vm->_scrollRow = 1; + _vm->_scrollY = 0; } } @@ -187,7 +187,7 @@ void AmazonRoom::mainAreaClick() { // WORKAROUND: In Amazon room 9, you can't leave the screen to the south due // to not being able to click a Y position that's high enough - if (screen._scrollRow == 0 && pt.y > 178) + if (_vm->_scrollRow == 0 && pt.y > 178) pt.y = 200; player._moveTo = pt; |