summaryrefslogtreecommitdiff
path: root/src/train.h
diff options
context:
space:
mode:
authorterkhen <terkhen@openttd.org>2010-11-06 12:40:38 +0000
committerterkhen <terkhen@openttd.org>2010-11-06 12:40:38 +0000
commit766bf140db3f8a69b46234711c653ee1aba94341 (patch)
tree166e83f4bcaa4f9e650e8d02804c4ba63c8d2b40 /src/train.h
parentd699c4a345503df0147de80c7462376f7ff130da (diff)
downloadopenttd-766bf140db3f8a69b46234711c653ee1aba94341.tar.xz
(svn r21092) -Codechange: Merge max speed functions.
Diffstat (limited to 'src/train.h')
-rw-r--r--src/train.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/train.h b/src/train.h
index 8b2d619ac..c1dd3af24 100644
--- a/src/train.h
+++ b/src/train.h
@@ -501,15 +501,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
- {
- return this->tcache.cached_max_speed;
- }
-
- /**
* Gets the maximum speed allowed by the track for this vehicle.
* @return Maximum speed allowed.
*/