summaryrefslogtreecommitdiff
path: root/aystar.h
diff options
context:
space:
mode:
authormatthijs <matthijs@openttd.org>2005-03-08 19:54:10 +0000
committermatthijs <matthijs@openttd.org>2005-03-08 19:54:10 +0000
commit232e41f2ff867bd1281c76ec3037d11cb5db0e65 (patch)
tree7d68f4e80ab28c8986de0bee20322d0bddcad0c9 /aystar.h
parentd781d7ec000c99dc5ce7ed15e68c56ef582d0e22 (diff)
downloadopenttd-232e41f2ff867bd1281c76ec3037d11cb5db0e65.tar.xz
(svn r1963) - Add: [NPF] Penalty for a red signal that is the last signal on the path.
- Add: [NPF] NPFGetFlag() and NPFSetFlag() to wrap NPF node flag handling
Diffstat (limited to 'aystar.h')
-rw-r--r--aystar.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/aystar.h b/aystar.h
index 037954d32..dab6b81e8 100644
--- a/aystar.h
+++ b/aystar.h
@@ -56,7 +56,7 @@ typedef struct AyStar AyStar;
* AYSTAR_FOUND_END_NODE : indicates this is the end tile
* AYSTAR_DONE : indicates this is not the end tile (or direction was wrong)
*/
-typedef int32 AyStar_EndNodeCheck(AyStar *aystar, OpenListNode *current);
+typedef int32 AyStar_EndNodeCheck(AyStar *aystar, AyStarNode *node);
/*
* This function is called to calculate the G-value for AyStar Algorithm.