summaryrefslogtreecommitdiff
path: root/src/vehiclelist.h
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2010-04-17 14:47:56 +0000
committerfrosch <frosch@openttd.org>2010-04-17 14:47:56 +0000
commit5ecf2f7f8cb157d959c42b3396398f03d3f3fffb (patch)
tree28e2ecc16925389891a8adb0a05806f6f56e661c /src/vehiclelist.h
parent2a5ddd0daea6e20c2c3de9e46ee0a0fe9973b502 (diff)
downloadopenttd-5ecf2f7f8cb157d959c42b3396398f03d3f3fffb.tar.xz
(svn r19656) -Codechange/Fix: Report back if invalid vehicle lists are requested.
Diffstat (limited to 'src/vehiclelist.h')
-rw-r--r--src/vehiclelist.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vehiclelist.h b/src/vehiclelist.h
index 04caccb5a..18357b941 100644
--- a/src/vehiclelist.h
+++ b/src/vehiclelist.h
@@ -19,7 +19,7 @@
typedef SmallVector<const Vehicle *, 32> VehicleList;
-void GenerateVehicleSortList(VehicleList *list, VehicleType type, Owner owner, uint32 index, uint16 window_type);
+bool GenerateVehicleSortList(VehicleList *list, VehicleType type, Owner owner, uint32 index, uint16 window_type);
void BuildDepotVehicleList(VehicleType type, TileIndex tile, VehicleList *engine_list, VehicleList *wagon_list, bool individual_wagons = false);
#endif /* VEHICLELIST_H */