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

@@ -2104,6 +2104,7 @@ void Vehicle::LeaveStation()
st->loading_vehicles.remove(this);
HideFillingPercent(&this->fill_percent_te_id);
trip_occupancy = CalcPercentVehicleFilled(this, NULL);
if (this->type == VEH_TRAIN && !(this->vehstatus & VS_CRASHED)) {
/* Trigger station animation (trains only) */