summaryrefslogtreecommitdiff
path: root/src/roadveh.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/roadveh.h')
-rw-r--r--src/roadveh.h10
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.
*/