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, 9 insertions, 0 deletions
diff --git a/src/train.h b/src/train.h
index a43b0747c..84bb88e30 100644
--- a/src/train.h
+++ b/src/train.h
@@ -433,6 +433,15 @@ protected: // These functions should not be called outside acceleration code.
}
/**
+ * Gets the area used for calculating air drag.
+ * @return Area of the engine.
+ */
+ FORCEINLINE byte GetAirDragArea() const
+ {
+ return 120;
+ }
+
+ /**
* Checks the current acceleration status of this vehicle.
* @return Acceleration status.
*/