summaryrefslogtreecommitdiff
path: root/src/pathfind.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/pathfind.h')
-rw-r--r--src/pathfind.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pathfind.h b/src/pathfind.h
index bafcad905..e63c750c5 100644
--- a/src/pathfind.h
+++ b/src/pathfind.h
@@ -16,7 +16,7 @@ enum {
//supported on all archs)
struct TrackPathFinder;
-typedef bool TPFEnumProc(TileIndex tile, void *data, Trackdir trackdir, uint length, byte *state);
+typedef bool TPFEnumProc(TileIndex tile, void *data, Trackdir trackdir, uint length);
typedef void TPFAfterProc(TrackPathFinder *tpf);
typedef bool NTPEnumProc(TileIndex tile, void *data, int track, uint length);
@@ -40,7 +40,7 @@ struct TrackPathFinderLink {
struct RememberData {
uint16 cur_length;
byte depth;
- byte pft_var6;
+ Track last_choosen_track;
};
struct TrackPathFinder {