summaryrefslogtreecommitdiff
path: root/src/pathfinder/npf/aystar.h
diff options
context:
space:
mode:
authoralberth <alberth@openttd.org>2010-10-02 19:32:21 +0000
committeralberth <alberth@openttd.org>2010-10-02 19:32:21 +0000
commitfa661e4075e9c52840900b4b3837cba71149f358 (patch)
tree36601d03914ea97101e15399bbd52d370bc23a17 /src/pathfinder/npf/aystar.h
parent5e636d6a5c45f2fb1fa6a86fef2e2af2fe4a5b14 (diff)
downloadopenttd-fa661e4075e9c52840900b4b3837cba71149f358.tar.xz
(svn r20877) -Codechange: Make AyStarMain_OpenList_IsInList a method.
Diffstat (limited to 'src/pathfinder/npf/aystar.h')
-rw-r--r--src/pathfinder/npf/aystar.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/pathfinder/npf/aystar.h b/src/pathfinder/npf/aystar.h
index a3662d847..c5f433a7a 100644
--- a/src/pathfinder/npf/aystar.h
+++ b/src/pathfinder/npf/aystar.h
@@ -161,6 +161,7 @@ struct AyStar {
Hash OpenListHash;
void OpenListAdd(PathNode *parent, const AyStarNode *node, int f, int g);
+ OpenListNode *OpenListIsInList(const AyStarNode *node);
OpenListNode *OpenListPop();
};