summaryrefslogtreecommitdiff
path: root/src/vehicle.h
diff options
context:
space:
mode:
authorbjarni <bjarni@openttd.org>2007-01-21 01:25:59 +0000
committerbjarni <bjarni@openttd.org>2007-01-21 01:25:59 +0000
commit59e6e762b81753538e2b5e69d6fe5f5c91037849 (patch)
tree995d04aac254b7f9c94831b244ce78236fd12f16 /src/vehicle.h
parent518c4cdfce47fd86ef3e77df8685a34c251d608f (diff)
downloadopenttd-59e6e762b81753538e2b5e69d6fe5f5c91037849.tar.xz
(svn r8296) -Fix: GenerateVehicleSortList() tried to put a TileIndex into an uint16
-Fix: CmdMassStartStopVehicle() tried to put a TileIndex into an uint16 Those two bugs were unrelated to each other and unrelated to r8295, even though that commit touched the code in question
Diffstat (limited to 'src/vehicle.h')
-rw-r--r--src/vehicle.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vehicle.h b/src/vehicle.h
index 7093fffdb..5db0885df 100644
--- a/src/vehicle.h
+++ b/src/vehicle.h
@@ -333,7 +333,7 @@ int CheckTrainStoppedInDepot(const Vehicle *v);
bool VehicleNeedsService(const Vehicle *v);
-uint GenerateVehicleSortList(const Vehicle*** sort_list, uint16 *length_of_array, byte type, PlayerID owner, uint16 index, uint16 window_type);
+uint GenerateVehicleSortList(const Vehicle*** sort_list, uint16 *length_of_array, byte type, PlayerID owner, uint32 index, uint16 window_type);
void BuildDepotVehicleList(byte type, TileIndex tile, Vehicle ***engine_list, uint16 *engine_list_length, uint16 *engine_count, Vehicle ***wagon_list, uint16 *wagon_list_length, uint16 *wagon_count);
int32 SendAllVehiclesToDepot(byte type, uint32 flags, bool service, PlayerID owner, uint16 vlw_flag, uint32 id);
bool IsVehicleInDepot(const Vehicle *v);