diff options
author | frosch <frosch@openttd.org> | 2009-02-27 20:40:39 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2009-02-27 20:40:39 +0000 |
commit | e01106f66b8b003ebc847470d1291af8ef640c96 (patch) | |
tree | 7419f11ae37834876be39c85f17576ba1dd82c3e /src/articulated_vehicles.h | |
parent | 729972847269e3661e2647f18061f1a02d010d0c (diff) | |
download | openttd-e01106f66b8b003ebc847470d1291af8ef640c96.tar.xz |
(svn r15592) -Fix: Refit-info in purchase list did only check the first articulated part.
Diffstat (limited to 'src/articulated_vehicles.h')
-rw-r--r-- | src/articulated_vehicles.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/articulated_vehicles.h b/src/articulated_vehicles.h index 66f2e7f2f..02e546364 100644 --- a/src/articulated_vehicles.h +++ b/src/articulated_vehicles.h @@ -14,5 +14,6 @@ void AddArticulatedParts(Vehicle **vl, VehicleType type); uint32 GetUnionOfArticulatedRefitMasks(EngineID engine, VehicleType type, bool include_initial_cargo_type); uint32 GetIntersectionOfArticulatedRefitMasks(EngineID engine, VehicleType type, bool include_initial_cargo_type); bool IsArticulatedVehicleCarryingDifferentCargos(const Vehicle *v, CargoID *cargo_type); +bool IsArticulatedVehicleRefittable(EngineID engine); #endif /* ARTICULATED_VEHICLES_H */ |