diff options
author | bjarni <bjarni@openttd.org> | 2006-09-26 16:47:51 +0000 |
---|---|---|
committer | bjarni <bjarni@openttd.org> | 2006-09-26 16:47:51 +0000 |
commit | f7769e885e1a928018a9be33553a887cb00babf7 (patch) | |
tree | 381d620a928fbc6c40266c4078ae71959a878f36 /road_cmd.c | |
parent | 65a3777a403f1c3eb0f2856bf0b0073b4c83fad9 (diff) | |
download | openttd-f7769e885e1a928018a9be33553a887cb00babf7.tar.xz |
(svn r6513) -Codechange: unified the code to draw depot windows
This change is intended to make it easier to make depot behaviour consistent
and faster to code when adding more features in the future
The user interface should hopefully not be affected by this
Diffstat (limited to 'road_cmd.c')
-rw-r--r-- | road_cmd.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/road_cmd.c b/road_cmd.c index 3f9c2a3c7..bcf57f94b 100644 --- a/road_cmd.c +++ b/road_cmd.c @@ -977,11 +977,9 @@ static void TileLoop_Road(TileIndex tile) } } -void ShowRoadDepotWindow(TileIndex tile); - static void ClickTile_Road(TileIndex tile) { - if (GetRoadTileType(tile) == ROAD_TILE_DEPOT) ShowRoadDepotWindow(tile); + if (GetRoadTileType(tile) == ROAD_TILE_DEPOT) ShowDepotWindow(tile, VEH_Road); } static const byte _road_trackbits[16] = { |