summaryrefslogtreecommitdiff
path: root/src/vehicle_gui.cpp
diff options
context:
space:
mode:
authorsmatz <smatz@openttd.org>2009-06-24 19:26:41 +0000
committersmatz <smatz@openttd.org>2009-06-24 19:26:41 +0000
commit05c695a647a3637925d24e4062b0cd4adcd1c851 (patch)
tree220c68f6314badb79ae16a3af4e818e1ed2e52a5 /src/vehicle_gui.cpp
parentfd4a9a9106256a1029995f76e7bdbc8cefdbb84a (diff)
downloadopenttd-05c695a647a3637925d24e4062b0cd4adcd1c851.tar.xz
(svn r16646) -Codechange: rename GetDepotByTile() to Depot::GetByTile()
Diffstat (limited to 'src/vehicle_gui.cpp')
-rw-r--r--src/vehicle_gui.cpp2
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;
}