diff options
author | alberth <alberth@openttd.org> | 2010-10-02 19:32:21 +0000 |
---|---|---|
committer | alberth <alberth@openttd.org> | 2010-10-02 19:32:21 +0000 |
commit | fa661e4075e9c52840900b4b3837cba71149f358 (patch) | |
tree | 36601d03914ea97101e15399bbd52d370bc23a17 /src/pathfinder/npf/aystar.h | |
parent | 5e636d6a5c45f2fb1fa6a86fef2e2af2fe4a5b14 (diff) | |
download | openttd-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.h | 1 |
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(); }; |