summaryrefslogtreecommitdiff
path: root/src/aystar.h
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2008-12-20 20:26:40 +0000
committerfrosch <frosch@openttd.org>2008-12-20 20:26:40 +0000
commitebf51ffb6bb44a0a8635ae55fb9253ccc26af976 (patch)
tree8f8fe127b6b06dda9225bda90d1e36949f655887 /src/aystar.h
parent400626d8821fd7c829ef34981f37b629a8a4347e (diff)
downloadopenttd-ebf51ffb6bb44a0a8635ae55fb9253ccc26af976.tar.xz
(svn r14707) -Cleanup: Replace an 'int' by 'Trackdir'.
Diffstat (limited to 'src/aystar.h')
-rw-r--r--src/aystar.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/aystar.h b/src/aystar.h
index e2b2d73e1..a759b5b22 100644
--- a/src/aystar.h
+++ b/src/aystar.h
@@ -13,6 +13,7 @@
#include "queue.h"
#include "tile_type.h"
+#include "track_type.h"
//#define AYSTAR_DEBUG
enum {
@@ -30,7 +31,7 @@ enum{
struct AyStarNode {
TileIndex tile;
- int direction;
+ Trackdir direction;
uint user_data[2];
};