Skip to content

Commit

Permalink
ACCESS: Fix bug in setHorizontalCode()
Browse files Browse the repository at this point in the history
  • Loading branch information
Strangerke committed Dec 21, 2014
1 parent e5ecd50 commit 24f0cce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion engines/access/amazon/amazon_logic.cpp
Expand Up @@ -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;
}

Expand Down

0 comments on commit 24f0cce

Please sign in to comment.