summaryrefslogtreecommitdiff
path: root/src/base_consist.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2013-02-14 17:24:55 +0000
committerrubidium <rubidium@openttd.org>2013-02-14 17:24:55 +0000
commitced17303c2a721560e31fb035fd331be4518e298 (patch)
tree81ff122d1c26d62c87e5fd3290abda9c8c6bffa0 /src/base_consist.h
parent3d7860e0a5490b0f008a4abca024b94311593fc1 (diff)
downloadopenttd-ced17303c2a721560e31fb035fd331be4518e298.tar.xz
(svn r24998) -Fix [FS#5137]: Set vehicle's service interval is percent flag appropriately on creation (peter1138)
Diffstat (limited to 'src/base_consist.h')
-rw-r--r--src/base_consist.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/base_consist.h b/src/base_consist.h
index 0ea13b3f2..3679afd35 100644
--- a/src/base_consist.h
+++ b/src/base_consist.h
@@ -24,12 +24,12 @@ struct BaseConsist {
int32 lateness_counter; ///< How many ticks late (or early if negative) this vehicle is.
Date timetable_start; ///< When the vehicle is supposed to start the timetable.
- uint32 service_interval; ///< The interval for (automatic) servicing; either in days or %.
+ uint16 service_interval; ///< The interval for (automatic) servicing; either in days or %.
VehicleOrderID cur_real_order_index;///< The index to the current real (non-implicit) order
VehicleOrderID cur_implicit_order_index;///< The index to the current implicit order
- byte vehicle_flags; ///< Used for gradual loading and other miscellaneous things (@see VehicleFlags enum)
+ uint16 vehicle_flags; ///< Used for gradual loading and other miscellaneous things (@see VehicleFlags enum)
BaseConsist() : name(NULL) {}
virtual ~BaseConsist();