diff options
author | frosch <frosch@openttd.org> | 2009-10-28 18:31:16 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2009-10-28 18:31:16 +0000 |
commit | 83894809d0bf63f5375cf546f3d353f5299a6442 (patch) | |
tree | e5bc6eae133e4d7d043c01575a691812798c353e /src/aircraft.h | |
parent | 2a3c797138b988a4c836215a8d98b8f85244c48e (diff) | |
download | openttd-83894809d0bf63f5375cf546f3d353f5299a6442.tar.xz |
(svn r17897) -Fix [FS#3255]: CB15 and CB36 (capacity) were not always called when they should.
-Codechange: Move capacity calculation to a single function for all vehicle types, so the behaviour can be kept consistent easier.
Diffstat (limited to 'src/aircraft.h')
-rw-r--r-- | src/aircraft.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/aircraft.h b/src/aircraft.h index 9d745f52e..d1664886a 100644 --- a/src/aircraft.h +++ b/src/aircraft.h @@ -29,15 +29,6 @@ enum AircraftSubType { /** - * Calculates cargo capacity based on an aircraft's passenger - * and mail capacities. - * @param cid Which cargo type to calculate a capacity for. - * @param avi Which engine to find a cargo capacity for. - * @return New cargo capacity value. - */ -uint16 AircraftDefaultCargoCapacity(CargoID cid, const AircraftVehicleInfo *avi); - -/** * This is the Callback method after the construction attempt of an aircraft * @param success indicates completion (or not) of the operation * @param tile of depot where aircraft is built |