diff options
Diffstat (limited to 'src/roadveh.h')
-rw-r--r-- | src/roadveh.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/roadveh.h b/src/roadveh.h index 6af7425b4..5a5ee549b 100644 --- a/src/roadveh.h +++ b/src/roadveh.h @@ -210,6 +210,15 @@ protected: // These functions should not be called outside acceleration code. return RoadVehInfo(this->engine_type)->tractive_effort; } + /** + * Gets the area used for calculating air drag. + * @return Area of the engine. + */ + FORCEINLINE byte GetAirDragArea() const + { + return 60; + } + /** * Checks the current acceleration status of this vehicle. * @return Acceleration status. |