summaryrefslogtreecommitdiff
path: root/src/train.h
diff options
context:
space:
mode:
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.
*/