summaryrefslogtreecommitdiff
path: root/src/vehicle_base.h
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2017-03-24 07:33:31 +0000
committerpeter1138 <peter1138@openttd.org>2017-03-24 07:33:31 +0000
commit19d56a33e8842fb5e6b5f028c3d8050405af2c1a (patch)
treeac0c5fb47fd13f1a32c3f83db71da9850ba7fee8 /src/vehicle_base.h
parentbcc5c9f81d2c3fb3f31ba1dce647c7974d46cbd2 (diff)
downloadopenttd-19d56a33e8842fb5e6b5f028c3d8050405af2c1a.tar.xz
(svn r27822) -Feature: Vehicle Group Info: Add profits and occupancy display to group vehicle list (mtm, JGR)
Diffstat (limited to 'src/vehicle_base.h')
-rw-r--r--src/vehicle_base.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vehicle_base.h b/src/vehicle_base.h
index f2a02072a..fc40f22a6 100644
--- a/src/vehicle_base.h
+++ b/src/vehicle_base.h
@@ -308,6 +308,7 @@ public:
uint16 refit_cap; ///< Capacity left over from before last refit.
VehicleCargoList cargo; ///< The cargo this vehicle is carrying
uint16 cargo_age_counter; ///< Ticks till cargo is aged next.
+ int8 trip_occupancy; ///< NOSAVE: Occupancy of vehicle of the current trip (updated after leaving a station).
byte day_counter; ///< Increased by one for each day
byte tick_counter; ///< Increased by one for each tick