Changeset - r19449:70e8c77441f6
[Not reviewed]
master
0 1 0
frosch - 12 years ago 2012-07-01 21:16:47
frosch@openttd.org
(svn r24366) -Doc: Improve description of ScriptVehicle::GetCargoLoad.
1 file changed with 3 insertions and 3 deletions:
0 comments (0 inline, 0 general)
src/script/api/script_vehicle.hpp
Show inline comments
 
@@ -506,12 +506,12 @@ public:
 
	static int GetLength(VehicleID vehicle_id);
 

	
 
	/**
 
	 * Get the amount of a specific cargo the given vehicle transports.
 
	 * Get the amount of a specific cargo the given vehicle is transporting.
 
	 * @param vehicle_id The vehicle to get the load amount of.
 
	 * @param cargo The cargo to get the load amount for.
 
	 * @param cargo The cargo to get the loaded amount for.
 
	 * @pre IsValidVehicle(vehicle_id).
 
	 * @pre ScriptCargo::IsValidCargo(cargo).
 
	 * @return The amount of the given cargo the vehicle currently transports.
 
	 * @return The amount of the given cargo the vehicle is currently transporting.
 
	 */
 
	static int32 GetCargoLoad(VehicleID vehicle_id, CargoID cargo);
 

	
0 comments (0 inline, 0 general)