diff options
author | rubidium <rubidium@openttd.org> | 2011-01-26 17:35:03 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2011-01-26 17:35:03 +0000 |
commit | 430fda01dcaf6c6abd3a6b6b4b0a4ae6bae51e65 (patch) | |
tree | ce0edac2369883f7012c0db8290ba9cea05f1cc5 /src/roadveh.h | |
parent | b4a175ba41a4e731c145f5282630265d471c52ff (diff) | |
download | openttd-430fda01dcaf6c6abd3a6b6b4b0a4ae6bae51e65.tar.xz |
(svn r21915) -Codechange: rename RoadVehicleAccelerate to RoadVehicle::UpdateSpeed (to match the naming used by Trains), and make use of the algorithm implemented in GroundVehicle
Diffstat (limited to 'src/roadveh.h')
-rw-r--r-- | src/roadveh.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/roadveh.h b/src/roadveh.h index 3cfecd609..516257512 100644 --- a/src/roadveh.h +++ b/src/roadveh.h @@ -120,6 +120,7 @@ struct RoadVehicle : public GroundVehicle<RoadVehicle, VEH_ROAD> { bool IsBus() const; int GetCurrentMaxSpeed() const; + int UpdateSpeed(); protected: // These functions should not be called outside acceleration code. |