From 83894809d0bf63f5375cf546f3d353f5299a6442 Mon Sep 17 00:00:00 2001 From: frosch Date: Wed, 28 Oct 2009 18:31:16 +0000 Subject: (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. --- src/aircraft.h | 9 --------- 1 file changed, 9 deletions(-) (limited to 'src/aircraft.h') diff --git a/src/aircraft.h b/src/aircraft.h index 9d745f52e..d1664886a 100644 --- a/src/aircraft.h +++ b/src/aircraft.h @@ -28,15 +28,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 -- cgit v1.2.3-54-g00ecf