diff options
author | smatz <smatz@openttd.org> | 2010-06-10 23:27:37 +0000 |
---|---|---|
committer | smatz <smatz@openttd.org> | 2010-06-10 23:27:37 +0000 |
commit | 830e40af1999186630b5a85e7c3017617fc44576 (patch) | |
tree | e7aa1dc4fd13bfc7319bd33ff5c5060da7729e23 /src/waypoint_gui.cpp | |
parent | de50d914c8c205f17021f6ae74302afee92de157 (diff) | |
download | openttd-830e40af1999186630b5a85e7c3017617fc44576.tar.xz |
(svn r19955) -Fix: close list of vehicles with given buoy/oil rig in orders when switching company
Diffstat (limited to 'src/waypoint_gui.cpp')
-rw-r--r-- | src/waypoint_gui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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; } } |