diff options
Diffstat (limited to 'src/order_base.h')
-rw-r--r-- | src/order_base.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/order_base.h b/src/order_base.h index eaf050cbd..82e1371ee 100644 --- a/src/order_base.h +++ b/src/order_base.h @@ -49,8 +49,9 @@ public: uint16 wait_time; ///< How long in ticks to wait at the destination. uint16 travel_time; ///< How long in ticks the journey to this destination should take. + uint16 max_speed; ///< How fast the vehicle may go on the way to the destination. - Order() : refit_cargo(CT_NO_REFIT) {} + Order() : refit_cargo(CT_NO_REFIT), max_speed(UINT16_MAX) {} ~Order(); Order(uint32 packed); |