diff options
author | Paul Gilbert | 2014-12-10 21:40:36 -0500 |
---|---|---|
committer | Paul Gilbert | 2014-12-12 23:07:12 -0500 |
commit | c2e5dd8487834b875333652d6b482bd61a50354d (patch) | |
tree | 20086fce315e2399fb7c37e5a8454162fd41bbe5 /engines/access/amazon/amazon_logic.cpp | |
parent | 547f3debb2b44dfb8fb3d659ac09f3bd24a017c4 (diff) | |
download | scummvm-rg350-c2e5dd8487834b875333652d6b482bd61a50354d.tar.gz scummvm-rg350-c2e5dd8487834b875333652d6b482bd61a50354d.tar.bz2 scummvm-rg350-c2e5dd8487834b875333652d6b482bd61a50354d.zip |
ACCESS: Fix positioning of Ant in pit scene
Diffstat (limited to 'engines/access/amazon/amazon_logic.cpp')
-rw-r--r-- | engines/access/amazon/amazon_logic.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/access/amazon/amazon_logic.cpp b/engines/access/amazon/amazon_logic.cpp index 320d87476a..517351f7c3 100644 --- a/engines/access/amazon/amazon_logic.cpp +++ b/engines/access/amazon/amazon_logic.cpp @@ -2108,17 +2108,17 @@ void Ant::doAnt() { else idx -= 6; - _antPos = Common::Point(buf[(idx / 2) + 1], buf[(idx / 2) + 2]); + _antPos -= Common::Point(buf[(idx / 2) + 1], buf[(idx / 2) + 2]); _antCel = idx; } } else { idx += 6; if (buf[(idx / 2)] != -1) { - _antPos = Common::Point(buf[(idx / 2) + 1], buf[(idx / 2) + 2]); + _antPos += Common::Point(buf[(idx / 2) + 1], buf[(idx / 2) + 2]); _antCel = idx; } else if (!_antDieFl) { idx = 0; - _antPos = Common::Point(buf[(idx / 2) + 1], buf[(idx / 2) + 2]); + _antPos += Common::Point(buf[(idx / 2) + 1], buf[(idx / 2) + 2]); _antCel = idx; } else { idx -= 6; |