diff options
author | frosch <frosch@openttd.org> | 2009-06-27 21:36:04 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2009-06-27 21:36:04 +0000 |
commit | 1e09854cb7484a0317de81d412c6a541a96dacb6 (patch) | |
tree | 5d8389a9efbf993b4e39c605d7aa0d5024b6d581 /src/articulated_vehicles.h | |
parent | a288e4d82ff85819aa49061d66ee7e0cfd87e802 (diff) | |
download | openttd-1e09854cb7484a0317de81d412c6a541a96dacb6.tar.xz |
(svn r16679) -Codechange: Let GetCapacityOfArticulatedParts() return a CargoArray instead of a pointer to a static array.
Diffstat (limited to 'src/articulated_vehicles.h')
-rw-r--r-- | src/articulated_vehicles.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/articulated_vehicles.h b/src/articulated_vehicles.h index 702473211..1d70ea09d 100644 --- a/src/articulated_vehicles.h +++ b/src/articulated_vehicles.h @@ -9,7 +9,7 @@ #include "engine_type.h" uint CountArticulatedParts(EngineID engine_type, bool purchase_window); -uint16 *GetCapacityOfArticulatedParts(EngineID engine, VehicleType type); +CargoArray GetCapacityOfArticulatedParts(EngineID engine, VehicleType type); void AddArticulatedParts(Vehicle *first, VehicleType type); uint32 GetUnionOfArticulatedRefitMasks(EngineID engine, VehicleType type, bool include_initial_cargo_type); uint32 GetIntersectionOfArticulatedRefitMasks(EngineID engine, VehicleType type, bool include_initial_cargo_type); |