aboutsummaryrefslogtreecommitdiff
path: root/engines/access
diff options
context:
space:
mode:
authorStrangerke2014-12-08 07:56:13 +0100
committerPaul Gilbert2014-12-12 23:03:48 -0500
commit9ef60f3f3357491e39dfe3c16470fa3711e8a211 (patch)
tree4ef8ec40472304dafb74a704318dbb624aa046a1 /engines/access
parent960a787c033fa7a90d347b9d37c4c0e890444ce2 (diff)
downloadscummvm-rg350-9ef60f3f3357491e39dfe3c16470fa3711e8a211.tar.gz
scummvm-rg350-9ef60f3f3357491e39dfe3c16470fa3711e8a211.tar.bz2
scummvm-rg350-9ef60f3f3357491e39dfe3c16470fa3711e8a211.zip
ACCESS: Fix a bug in plotInactive
Diffstat (limited to 'engines/access')
-rw-r--r--engines/access/amazon/amazon_scripts.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/access/amazon/amazon_scripts.cpp b/engines/access/amazon/amazon_scripts.cpp
index fb1ccbe05e..c5b77950ad 100644
--- a/engines/access/amazon/amazon_scripts.cpp
+++ b/engines/access/amazon/amazon_scripts.cpp
@@ -300,8 +300,8 @@ void AmazonScripts::plotInactive() {
_game->_rawInactiveY >= 158 && _game->_rawInactiveY <= 173) {
_game->_flags[155] = 1;
} else {
- _game->_flags[160] = 1;
- if (!_game->_jasMayaFlag && _game->_rawInactiveX <= 266 && _game->_rawInactiveX < 290
+ _game->_flags[160] = 0;
+ if (!_game->_jasMayaFlag && _game->_rawInactiveX >= 266 && _game->_rawInactiveX <= 290
&& _game->_rawInactiveY >= 70 && _game->_rawInactiveY <= 87) {
_game->_flags[160] = 1;
}