changeset 19262:ab1643ee48e5 draft

(svn r24151) -Fix: typo in script documentation
author rubidium <rubidium@openttd.org>
date Wed, 18 Apr 2012 19:03:12 +0000
parents 63eb981991a5
children f4c9feb421ca
files src/script/api/script_vehicle.hpp
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/script/api/script_vehicle.hpp
+++ b/src/script/api/script_vehicle.hpp
@@ -213,7 +213,7 @@
 
 	/**
 	 * Get the current speed of a vehicle.
-	 * @param vehicle_id The vehicle to get the age of.
+	 * @param vehicle_id The vehicle to get the speed of.
 	 * @pre IsValidVehicle(vehicle_id).
 	 * @return The current speed of the vehicle.
 	 * @note The speed is in OpenTTD's internal speed unit.
@@ -232,7 +232,7 @@
 
 	/**
 	 * Get the running cost of this vehicle.
-	 * @param vehicle_id The vehicle to get the age of.
+	 * @param vehicle_id The vehicle to get the running cost of.
 	 * @pre IsValidVehicle(vehicle_id).
 	 * @return The running cost of the vehicle per year.
 	 * @note Cost is per year; divide by 365 to get per day.