diff options
author | smatz <smatz@openttd.org> | 2008-02-18 16:11:31 +0000 |
---|---|---|
committer | smatz <smatz@openttd.org> | 2008-02-18 16:11:31 +0000 |
commit | 9f619f91b382985891a234138d2efa79cfe9ec29 (patch) | |
tree | 931c3875fce3f210d8676944d6ea635dac295fc7 /src/town_cmd.cpp | |
parent | ada241e279539890447574c4386603dcaae1d3d6 (diff) | |
download | openttd-9f619f91b382985891a234138d2efa79cfe9ec29.tar.xz |
(svn r12177) -Codechange: use 'side' parameter in GetTileTrackStatus so there can be less checks in pathfinders for depots/stations/tunnels/bridges
Diffstat (limited to 'src/town_cmd.cpp')
-rw-r--r-- | src/town_cmd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/town_cmd.cpp b/src/town_cmd.cpp index 6ef67f03e..2e8d8119f 100644 --- a/src/town_cmd.cpp +++ b/src/town_cmd.cpp @@ -592,7 +592,7 @@ static void GetTileDesc_Town(TileIndex tile, TileDesc *td) td->owner = OWNER_TOWN; } -static uint32 GetTileTrackStatus_Town(TileIndex tile, TransportType mode, uint sub_mode) +static uint32 GetTileTrackStatus_Town(TileIndex tile, TransportType mode, uint sub_mode, DiagDirection side) { /* not used */ return 0; |