aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/access/amazon/amazon_logic.cpp6
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;