diff options
author | Eugene Sandulenko | 2019-06-30 23:11:49 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2019-09-03 17:17:05 +0200 |
commit | 224658a1ba97499c61ef92f74444f4abde7ce994 (patch) | |
tree | 07cb46c2f536534c6dc68f0212d03e59e1dc60ac | |
parent | e5cf4308b9c5537f4bf25c6067b989284537541e (diff) | |
download | scummvm-rg350-224658a1ba97499c61ef92f74444f4abde7ce994.tar.gz scummvm-rg350-224658a1ba97499c61ef92f74444f4abde7ce994.tar.bz2 scummvm-rg350-224658a1ba97499c61ef92f74444f4abde7ce994.zip |
HDB: Fix Maintenance bot path finding. Still it runs too fast
-rw-r--r-- | engines/hdb/ai-lists.cpp | 2 |
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); |