summaryrefslogtreecommitdiff
path: root/src/roadveh.h
diff options
context:
space:
mode:
authorterkhen <terkhen@openttd.org>2010-03-06 12:56:57 +0000
committerterkhen <terkhen@openttd.org>2010-03-06 12:56:57 +0000
commitc958c2c31f0f04cdf66dfae0b95743011202655a (patch)
tree0e5d74d9cf5d50a10f2733c3c40eb190cb2163ea /src/roadveh.h
parente770b3d6bbd6fa35f9f921232c965f1c306d1b85 (diff)
downloadopenttd-c958c2c31f0f04cdf66dfae0b95743011202655a.tar.xz
(svn r19345) -Feature: Realistic acceleration for road vehicles.
Diffstat (limited to 'src/roadveh.h')
-rw-r--r--src/roadveh.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/roadveh.h b/src/roadveh.h
index 97bdce49e..1355bcc54 100644
--- a/src/roadveh.h
+++ b/src/roadveh.h
@@ -133,6 +133,8 @@ struct RoadVehicle : public GroundVehicle<RoadVehicle, VEH_ROAD> {
bool IsBus() const;
+ int GetCurrentMaxSpeed() const;
+
/**
* Check if vehicle is a front engine
* @return Returns true if vehicle is a front engine