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 | 29125c0e68ffc3d4627212f33bce39ba108cd341 (patch) | |
tree | 931c3875fce3f210d8676944d6ea635dac295fc7 /src/town_cmd.cpp | |
parent | a0a225ab021f4cbb65679c04898d6f3eb8eb3662 (diff) | |
download | openttd-29125c0e68ffc3d4627212f33bce39ba108cd341.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; |