summaryrefslogtreecommitdiff
path: root/src/train.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/train.h')
-rw-r--r--src/train.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/train.h b/src/train.h
index ff5b82927..a6a90d6f0 100644
--- a/src/train.h
+++ b/src/train.h
@@ -86,6 +86,7 @@ struct TrainCache : public AccelerationCache {
/* cached max. speed / acceleration data */
uint16 cached_max_speed; ///< max speed of the consist. (minimum of the max speed of all vehicles in the consist)
+ uint16 cached_max_rail_speed; ///< max consist speed limited by rail type
int cached_max_curve_speed; ///< max consist speed limited by curves
/**