[Scummvm-cvs-logs] scummvm master -> 24f0cce9c6b0da33d1558059c6fbdb966eb5fb4e

Strangerke Strangerke at scummvm.org
Sun Dec 21 22:45:10 CET 2014


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
24f0cce9c6 ACCESS: Fix bug in setHorizontalCode()


Commit: 24f0cce9c6b0da33d1558059c6fbdb966eb5fb4e
    https://github.com/scummvm/scummvm/commit/24f0cce9c6b0da33d1558059c6fbdb966eb5fb4e
Author: Strangerke (strangerke at scummvm.org)
Date: 2014-12-21T22:43:12+01:00

Commit Message:
ACCESS: Fix bug in setHorizontalCode()

Changed paths:
    engines/access/amazon/amazon_logic.cpp



diff --git a/engines/access/amazon/amazon_logic.cpp b/engines/access/amazon/amazon_logic.cpp
index e6a96b6..4a313e8 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;
 }
 






More information about the Scummvm-git-logs mailing list