summaryrefslogtreecommitdiff
path: root/src/script
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2012-07-01 21:16:47 +0000
committerfrosch <frosch@openttd.org>2012-07-01 21:16:47 +0000
commita6244ed0dc39f520283abf2530154f0ae3996f2f (patch)
treeb3d01b13bdea5e297bfb7a765c2e98bd143399a7 /src/script
parent66d14c50f17bb50285c96e572382c0c91e508f95 (diff)
downloadopenttd-a6244ed0dc39f520283abf2530154f0ae3996f2f.tar.xz
(svn r24366) -Doc: Improve description of ScriptVehicle::GetCargoLoad.
Diffstat (limited to 'src/script')
-rw-r--r--src/script/api/script_vehicle.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/script/api/script_vehicle.hpp b/src/script/api/script_vehicle.hpp
index bbcf92975..8206b46d8 100644
--- a/src/script/api/script_vehicle.hpp
+++ b/src/script/api/script_vehicle.hpp
@@ -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);