summaryrefslogtreecommitdiff
path: root/src/pathfinder/npf/aystar.h
diff options
context:
space:
mode:
authoralberth <alberth@openttd.org>2010-10-02 19:34:32 +0000
committeralberth <alberth@openttd.org>2010-10-02 19:34:32 +0000
commita7ffc9a268c74e7daed1ffe895f696b1a8727466 (patch)
tree719bbb2beb50f1654cf317c4f60e6a30f2da53af /src/pathfinder/npf/aystar.h
parent4f8af5d3360d5d5c180063e2e2fad2b6e746ae9f (diff)
downloadopenttd-a7ffc9a268c74e7daed1ffe895f696b1a8727466.tar.xz
(svn r20879) -Codechange: Make AyStarMain_ClosedList_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 152af1b41..38101cc91 100644
--- a/src/pathfinder/npf/aystar.h
+++ b/src/pathfinder/npf/aystar.h
@@ -165,6 +165,7 @@ struct AyStar {
OpenListNode *OpenListPop();
void ClosedListAdd(const PathNode *node);
+ PathNode *ClosedListIsInList(const AyStarNode *node);
};
#endif /* AYSTAR_H */