aboutsummaryrefslogtreecommitdiff
path: root/engines/hdb/ai-lists.cpp
diff options
context:
space:
mode:
authorEugene Sandulenko2019-06-30 23:11:49 +0200
committerEugene Sandulenko2019-09-03 17:17:05 +0200
commit224658a1ba97499c61ef92f74444f4abde7ce994 (patch)
tree07cb46c2f536534c6dc68f0212d03e59e1dc60ac /engines/hdb/ai-lists.cpp
parente5cf4308b9c5537f4bf25c6067b989284537541e (diff)
downloadscummvm-rg350-224658a1ba97499c61ef92f74444f4abde7ce994.tar.gz
scummvm-rg350-224658a1ba97499c61ef92f74444f4abde7ce994.tar.bz2
scummvm-rg350-224658a1ba97499c61ef92f74444f4abde7ce994.zip
HDB: Fix Maintenance bot path finding. Still it runs too fast
Diffstat (limited to 'engines/hdb/ai-lists.cpp')
-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);