summaryrefslogtreecommitdiff
path: root/src/script
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2012-04-18 19:03:12 +0000
committerrubidium <rubidium@openttd.org>2012-04-18 19:03:12 +0000
commiteeb781b42916120510658dbfdba39b20839b5306 (patch)
tree8df17c951642a8b366b8f5661fa3d4d23af763b3 /src/script
parent90e64ebdf2f05854288b3280c3277053ce1634b5 (diff)
downloadopenttd-eeb781b42916120510658dbfdba39b20839b5306.tar.xz
(svn r24151) -Fix: typo in script documentation
Diffstat (limited to 'src/script')
-rw-r--r--src/script/api/script_vehicle.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/script/api/script_vehicle.hpp b/src/script/api/script_vehicle.hpp
index da36a542c..bbcf92975 100644
--- a/src/script/api/script_vehicle.hpp
+++ b/src/script/api/script_vehicle.hpp
@@ -213,7 +213,7 @@ public:
/**
* 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 @@ public:
/**
* 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.