Merge branches 'upgrade_airport' and 'vehicle_group_info' into jgrpp

This commit is contained in:
Jonathan G Rennison
2015-08-02 18:17:44 +01:00
7 changed files with 212 additions and 49 deletions

View File

@@ -375,6 +375,8 @@ void AfterLoadVehicles(bool part_of_load)
FOR_ALL_VEHICLES(v) {
assert(v->first != NULL);
v->trip_occupancy = CalcPercentVehicleFilled(v, NULL);
switch (v->type) {
case VEH_TRAIN: {
Train *t = Train::From(v);