src/pathfind.h
branchgamebalance
changeset 9912 1ac8aac92385
parent 9906 6f41b8713b65
child 6872 1c4a4a609f85
child 8596 27646407e0bc
child 9723 eee46cb39750
--- a/src/pathfind.h	Wed Jun 13 11:45:14 2007 +0000
+++ b/src/pathfind.h	Wed Jun 13 12:05:56 2007 +0000
@@ -57,6 +57,8 @@
 	TrackdirByte the_dir;
 
 	TransportTypeByte tracktype;
+	uint sub_type;
+
 	byte var2;
 	bool disable_tile_hash;
 	bool hasbit_13;
@@ -67,7 +69,7 @@
 	TrackPathFinderLink links[0x400]; ///< hopefully, this is enough.
 };
 
-void FollowTrack(TileIndex tile, uint16 flags, DiagDirection direction, TPFEnumProc* enum_proc, TPFAfterProc* after_proc, void* data);
+void FollowTrack(TileIndex tile, uint16 flags, uint sub_type, DiagDirection direction, TPFEnumProc* enum_proc, TPFAfterProc* after_proc, void* data);
 
 struct FindLengthOfTunnelResult {
 	TileIndex tile;