diff options
author | terkhen <terkhen@openttd.org> | 2010-11-06 12:40:38 +0000 |
---|---|---|
committer | terkhen <terkhen@openttd.org> | 2010-11-06 12:40:38 +0000 |
commit | 766bf140db3f8a69b46234711c653ee1aba94341 (patch) | |
tree | 166e83f4bcaa4f9e650e8d02804c4ba63c8d2b40 /src/roadveh.h | |
parent | d699c4a345503df0147de80c7462376f7ff130da (diff) | |
download | openttd-766bf140db3f8a69b46234711c653ee1aba94341.tar.xz |
(svn r21092) -Codechange: Merge max speed functions.
Diffstat (limited to 'src/roadveh.h')
-rw-r--r-- | src/roadveh.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/roadveh.h b/src/roadveh.h index 8a424dd34..a8fcccd00 100644 --- a/src/roadveh.h +++ b/src/roadveh.h @@ -280,16 +280,6 @@ protected: // These functions should not be called outside acceleration code. } /** - * Gets the maximum speed of the vehicle, ignoring the limitations of the kind of track the vehicle is on. - * @return Maximum speed of the vehicle. - */ - FORCEINLINE uint16 GetInitialMaxSpeed() const - { - /* Road vehicles use a *2 conversion factor. */ - return this->max_speed / 2; - } - - /** * Gets the maximum speed allowed by the track for this vehicle. * @return Since roads don't limit road vehicle speed, it returns always zero. */ |