summaryrefslogtreecommitdiff
path: root/src/pathfinder/npf/aystar.h
diff options
context:
space:
mode:
authoralberth <alberth@openttd.org>2010-10-02 09:55:58 +0000
committeralberth <alberth@openttd.org>2010-10-02 09:55:58 +0000
commit92f0bdec2cb46b8defa6a82a9ff608ce7a2d1392 (patch)
treee4f8e3611bda7316f0ff9fa4940defdc48a2abdb /src/pathfinder/npf/aystar.h
parent776d541a89df8ab59d7b3412f0a0372331d7071e (diff)
downloadopenttd-92f0bdec2cb46b8defa6a82a9ff608ce7a2d1392.tar.xz
(svn r20866) -Codechange: CheckTile() always returns the same (ignored) value.
Diffstat (limited to 'src/pathfinder/npf/aystar.h')
-rw-r--r--src/pathfinder/npf/aystar.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pathfinder/npf/aystar.h b/src/pathfinder/npf/aystar.h
index d4445dd74..b1b0cdd4b 100644
--- a/src/pathfinder/npf/aystar.h
+++ b/src/pathfinder/npf/aystar.h
@@ -150,7 +150,7 @@ struct AyStar {
int Loop();
void Free();
void Clear();
- int CheckTile(AyStarNode *current, OpenListNode *parent);
+ void CheckTile(AyStarNode *current, OpenListNode *parent);
/* These will contain the open and closed lists */