aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/hdb/ai-lists.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/hdb/ai-lists.cpp b/engines/hdb/ai-lists.cpp
index 967d8acc1a..ff0ecfb3fa 100644
--- a/engines/hdb/ai-lists.cpp
+++ b/engines/hdb/ai-lists.cpp
@@ -699,7 +699,7 @@ void AI::addToPathList(int x, int y, int type, AIDir dir) {
arrowPath->type = type;
arrowPath->tileX = x;
- arrowPath->tileX = y;
+ arrowPath->tileY = y;
arrowPath->dir = dir;
_arrowPaths->push_back(arrowPath);