summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsmatz <smatz@openttd.org>2010-05-21 19:44:14 +0000
committersmatz <smatz@openttd.org>2010-05-21 19:44:14 +0000
commit0040e88b7f2f833774fdbf73b618a06ac6bdb8f3 (patch)
tree536458af2743834040cbbee47fb13bce32b3cae1
parente3df7caf18e6260dad84b8e4dd09f11886fbbe0e (diff)
downloadopenttd-0040e88b7f2f833774fdbf73b618a06ac6bdb8f3.tar.xz
(svn r19876) -Fix (r14104): it was not possible to send all trains with common waypoint order to depot
-rw-r--r--src/vehicle_gui.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vehicle_gui.h b/src/vehicle_gui.h
index 3d5429d29..c73a70212 100644
--- a/src/vehicle_gui.h
+++ b/src/vehicle_gui.h
@@ -59,7 +59,7 @@ enum VehicleListWindowType {
static inline bool ValidVLWFlags(uint16 flags)
{
- return (flags == VLW_STANDARD || flags == VLW_SHARED_ORDERS || flags == VLW_STATION_LIST || flags == VLW_DEPOT_LIST || flags == VLW_GROUP_LIST);
+ return (flags == VLW_STANDARD || flags == VLW_SHARED_ORDERS || flags == VLW_STATION_LIST || flags == VLW_DEPOT_LIST || flags == VLW_GROUP_LIST || flags == VLW_WAYPOINT_LIST);
}
int DrawVehiclePurchaseInfo(int left, int right, int y, EngineID engine_number);