summaryrefslogtreecommitdiff
path: root/src/vehicle_gui.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-07-21 16:30:01 +0000
committerrubidium <rubidium@openttd.org>2009-07-21 16:30:01 +0000
commit0658d6cb3d649c2e4ef9a8ebb1ae1440ae18e87d (patch)
treeaa80c3c150e3bc8f76cae4d025d46d274fa31305 /src/vehicle_gui.cpp
parentf09df6460885470a865eb31b843bb564f3a8a078 (diff)
downloadopenttd-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.cpp4
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)