Extend vehicle running ticks to 16 bits to avoid overflow at day length > 3
This commit is contained in:
@@ -311,7 +311,7 @@ public:
|
||||
|
||||
byte day_counter; ///< Increased by one for each day
|
||||
byte tick_counter; ///< Increased by one for each tick
|
||||
byte running_ticks; ///< Number of ticks this vehicle was not stopped this day
|
||||
uint16 running_ticks; ///< Number of ticks this vehicle was not stopped this day
|
||||
|
||||
byte vehstatus; ///< Status
|
||||
Order current_order; ///< The current order (+ status, like: loading)
|
||||
|
||||
Reference in New Issue
Block a user