summaryrefslogtreecommitdiff
path: root/src/waypoint_gui.cpp
diff options
context:
space:
mode:
authorsmatz <smatz@openttd.org>2010-06-10 23:27:37 +0000
committersmatz <smatz@openttd.org>2010-06-10 23:27:37 +0000
commit830e40af1999186630b5a85e7c3017617fc44576 (patch)
treee7aa1dc4fd13bfc7319bd33ff5c5060da7729e23 /src/waypoint_gui.cpp
parentde50d914c8c205f17021f6ae74302afee92de157 (diff)
downloadopenttd-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.cpp2
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;
}
}