summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);