diff options
author | Paul Gilbert | 2014-12-08 21:59:00 -0500 |
---|---|---|
committer | Paul Gilbert | 2014-12-12 23:04:09 -0500 |
commit | b20c755f46b34906305c773d1e4e320d0d8affbe (patch) | |
tree | b9fc866eda31e2bb88bcf669b32ac8ecc0dea3f5 /engines/access/amazon/amazon_logic.cpp | |
parent | 35922c28c8579c9f2fe476a351da74a92b7660d5 (diff) | |
download | scummvm-rg350-b20c755f46b34906305c773d1e4e320d0d8affbe.tar.gz scummvm-rg350-b20c755f46b34906305c773d1e4e320d0d8affbe.tar.bz2 scummvm-rg350-b20c755f46b34906305c773d1e4e320d0d8affbe.zip |
ACCESS: Fix progressing within the river
Diffstat (limited to 'engines/access/amazon/amazon_logic.cpp')
-rw-r--r-- | engines/access/amazon/amazon_logic.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/access/amazon/amazon_logic.cpp b/engines/access/amazon/amazon_logic.cpp index f1bf7dcf3b..952809f11f 100644 --- a/engines/access/amazon/amazon_logic.cpp +++ b/engines/access/amazon/amazon_logic.cpp @@ -1497,10 +1497,10 @@ void River::checkRiverPan() { bool River::riverJumpTest() { if (_vm->_screen->_scrollCol == 120 || _vm->_screen->_scrollCol == 60 || _vm->_screen->_scrollCol == 0) { - int val = _mapPtr[0]; - ++_mapPtr; + int val = *++_mapPtr; if (val == 0xFF) return true; + _oldScrollCol = _vm->_screen->_scrollCol; if (val == 0) { |