diff options
author | smatz <smatz@openttd.org> | 2009-06-24 19:26:41 +0000 |
---|---|---|
committer | smatz <smatz@openttd.org> | 2009-06-24 19:26:41 +0000 |
commit | 05c695a647a3637925d24e4062b0cd4adcd1c851 (patch) | |
tree | 220c68f6314badb79ae16a3af4e818e1ed2e52a5 /src/vehicle_gui.cpp | |
parent | fd4a9a9106256a1029995f76e7bdbc8cefdbb84a (diff) | |
download | openttd-05c695a647a3637925d24e4062b0cd4adcd1c851.tar.xz |
(svn r16646) -Codechange: rename GetDepotByTile() to Depot::GetByTile()
Diffstat (limited to 'src/vehicle_gui.cpp')
-rw-r--r-- | src/vehicle_gui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vehicle_gui.cpp b/src/vehicle_gui.cpp index 595fa702b..29bbce888 100644 --- a/src/vehicle_gui.cpp +++ b/src/vehicle_gui.cpp @@ -1243,7 +1243,7 @@ void ShowVehicleListWindow(CompanyID company, VehicleType vehicle_type, TileInde if (vehicle_type == VEH_AIRCRAFT) { depot_airport_index = GetStationIndex(depot_tile); } else { - Depot *depot = GetDepotByTile(depot_tile); + Depot *depot = Depot::GetByTile(depot_tile); if (depot == NULL) return; // no depot to show depot_airport_index = depot->index; } |