diff options
Diffstat (limited to 'src/pathfind.h')
-rw-r--r-- | src/pathfind.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/pathfind.h b/src/pathfind.h index 61f72e475..2bafe97f3 100644 --- a/src/pathfind.h +++ b/src/pathfind.h @@ -57,6 +57,8 @@ struct TrackPathFinder { TrackdirByte the_dir; TransportTypeByte tracktype; + uint sub_type; + byte var2; bool disable_tile_hash; bool hasbit_13; @@ -67,7 +69,7 @@ struct TrackPathFinder { 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; |