diff options
author | rubidium <rubidium@openttd.org> | 2009-07-21 16:30:01 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-07-21 16:30:01 +0000 |
commit | 0658d6cb3d649c2e4ef9a8ebb1ae1440ae18e87d (patch) | |
tree | aa80c3c150e3bc8f76cae4d025d46d274fa31305 /src/vehicle_gui.cpp | |
parent | f09df6460885470a865eb31b843bb564f3a8a078 (diff) | |
download | openttd-0658d6cb3d649c2e4ef9a8ebb1ae1440ae18e87d.tar.xz |
(svn r16900) -Codechange: prepare the waypoint window for buoys
Diffstat (limited to 'src/vehicle_gui.cpp')
-rw-r--r-- | src/vehicle_gui.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vehicle_gui.cpp b/src/vehicle_gui.cpp index e6f26237f..0f0c353f1 100644 --- a/src/vehicle_gui.cpp +++ b/src/vehicle_gui.cpp @@ -1181,10 +1181,10 @@ void ShowVehicleListWindow(CompanyID company, VehicleType vehicle_type) } } -void ShowVehicleListWindow(const Waypoint *wp) +void ShowVehicleListWindow(CompanyID company, VehicleType vehicle_type, const Waypoint *wp) { if (wp == NULL) return; - ShowVehicleListWindowLocal(wp->owner, VLW_WAYPOINT_LIST, VEH_TRAIN, wp->index); + ShowVehicleListWindowLocal(company, VLW_WAYPOINT_LIST, vehicle_type, wp->index); } void ShowVehicleListWindow(const Vehicle *v) |