diff options
author | Strangerke | 2014-12-21 22:28:25 +0100 |
---|---|---|
committer | Strangerke | 2014-12-21 22:43:12 +0100 |
commit | 24f0cce9c6b0da33d1558059c6fbdb966eb5fb4e (patch) | |
tree | 353222ca3038b84fc72f96be916552ca2fc0540c /engines/access/amazon | |
parent | e5ecd500cfbf1c91da31dab0a5a71ff43ed82033 (diff) | |
download | scummvm-rg350-24f0cce9c6b0da33d1558059c6fbdb966eb5fb4e.tar.gz scummvm-rg350-24f0cce9c6b0da33d1558059c6fbdb966eb5fb4e.tar.bz2 scummvm-rg350-24f0cce9c6b0da33d1558059c6fbdb966eb5fb4e.zip |
ACCESS: Fix bug in setHorizontalCode()
Diffstat (limited to 'engines/access/amazon')
-rw-r--r-- | engines/access/amazon/amazon_logic.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/access/amazon/amazon_logic.cpp b/engines/access/amazon/amazon_logic.cpp index e6a96b67d6..4a313e8880 100644 --- a/engines/access/amazon/amazon_logic.cpp +++ b/engines/access/amazon/amazon_logic.cpp @@ -1035,7 +1035,7 @@ void Guard::setHorizontalCode() { if (_bottomRight.x < screen._orgX1) _gCode2 |= 8; - else if (_bottomRight.y > screen._orgX2) + else if (_bottomRight.x > screen._orgX2) _gCode2 |= 2; } |