From 830e40af1999186630b5a85e7c3017617fc44576 Mon Sep 17 00:00:00 2001 From: smatz Date: Thu, 10 Jun 2010 23:27:37 +0000 Subject: (svn r19955) -Fix: close list of vehicles with given buoy/oil rig in orders when switching company --- src/waypoint_gui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/waypoint_gui.cpp') diff --git a/src/waypoint_gui.cpp b/src/waypoint_gui.cpp index cc11ba812..72a629eab 100644 --- a/src/waypoint_gui.cpp +++ b/src/waypoint_gui.cpp @@ -87,7 +87,7 @@ public: break; case WAYPVW_SHOW_VEHICLES: // show list of vehicles having this waypoint in their orders - ShowVehicleListWindow((this->wp->owner == OWNER_NONE) ? _local_company : this->wp->owner, this->vt, this->wp); + ShowVehicleListWindow(this->owner, this->vt, this->wp); break; } } -- cgit v1.2.3-54-g00ecf