Skip to content

Commit

Permalink
ACCESS: Fix positioning of Ant in pit scene
Browse files Browse the repository at this point in the history
  • Loading branch information
dreammaster committed Dec 13, 2014
1 parent 547f3de commit c2e5dd8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions engines/access/amazon/amazon_logic.cpp
Expand Up @@ -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;
Expand Down

0 comments on commit c2e5dd8

Please sign in to comment.