summaryrefslogtreecommitdiff
path: root/src/vehicle_base.h
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2009-02-01 17:14:39 +0000
committerfrosch <frosch@openttd.org>2009-02-01 17:14:39 +0000
commit61a893d6fd341515c5d0fea254c5ea25849afa58 (patch)
treec6c194df7208fda252250f6a43df63be15b1bd2d /src/vehicle_base.h
parentbe395d0f3dfb525c599fc245498bb8af0437ba44 (diff)
downloadopenttd-61a893d6fd341515c5d0fea254c5ea25849afa58.tar.xz
(svn r15308) -Codechange: Deduplicate km-ish/h -> mph conversions.
Diffstat (limited to 'src/vehicle_base.h')
-rw-r--r--src/vehicle_base.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vehicle_base.h b/src/vehicle_base.h
index 3113658f3..cfda648ec 100644
--- a/src/vehicle_base.h
+++ b/src/vehicle_base.h
@@ -397,13 +397,13 @@ public:
virtual SpriteID GetImage(Direction direction) const { return 0; }
/**
- * Gets the speed in mph that can be sent into SetDParam for string processing.
+ * Gets the speed in km-ish/h that can be sent into SetDParam for string processing.
* @return the vehicle's speed
*/
virtual int GetDisplaySpeed() const { return 0; }
/**
- * Gets the maximum speed in mph that can be sent into SetDParam for string processing.
+ * Gets the maximum speed in km-ish/h that can be sent into SetDParam for string processing.
* @return the vehicle's maximum speed
*/
virtual int GetDisplayMaxSpeed() const { return 0; }