From 24f0cce9c6b0da33d1558059c6fbdb966eb5fb4e Mon Sep 17 00:00:00 2001 From: Strangerke Date: Sun, 21 Dec 2014 22:28:25 +0100 Subject: ACCESS: Fix bug in setHorizontalCode() --- engines/access/amazon/amazon_logic.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/access') 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; } -- cgit v1.2.3