diff options
author | Paul Gilbert | 2014-12-08 23:13:42 -0500 |
---|---|---|
committer | Paul Gilbert | 2014-12-12 23:04:24 -0500 |
commit | c69480f6bf6f7afd6f0cffb0a6a76e22ad8e08cf (patch) | |
tree | d1f99bd171ff35a5734c264f312ef483dcd02b46 /engines/access/amazon/amazon_logic.cpp | |
parent | b20c755f46b34906305c773d1e4e320d0d8affbe (diff) | |
download | scummvm-rg350-c69480f6bf6f7afd6f0cffb0a6a76e22ad8e08cf.tar.gz scummvm-rg350-c69480f6bf6f7afd6f0cffb0a6a76e22ad8e08cf.tar.bz2 scummvm-rg350-c69480f6bf6f7afd6f0cffb0a6a76e22ad8e08cf.zip |
ACCESS: Fix event pollig in death flashing loop
Diffstat (limited to 'engines/access/amazon/amazon_logic.cpp')
-rw-r--r-- | engines/access/amazon/amazon_logic.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/access/amazon/amazon_logic.cpp b/engines/access/amazon/amazon_logic.cpp index 952809f11f..01450077bd 100644 --- a/engines/access/amazon/amazon_logic.cpp +++ b/engines/access/amazon/amazon_logic.cpp @@ -1475,8 +1475,7 @@ void River::initRiver() { void River::resetPositions() { riverSetPhysX(); int val = (_vm->_screen->_scrollCol + 1 - _oldScrollCol) * 16; - if (val > 256) { - val &= 0x7F; + if (val < 0) { val |= 0x80; } |