From 224658a1ba97499c61ef92f74444f4abde7ce994 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Sun, 30 Jun 2019 23:11:49 +0200 Subject: HDB: Fix Maintenance bot path finding. Still it runs too fast --- engines/hdb/ai-lists.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.2.3