@@ -1465,12 +1465,19 @@ static void LoadUnloadVehicle(Vehicle *v
if (v->cargo_cap != 0) cargo_left[v->cargo_type] -= v->cargo_cap - v->cargo_count;
}
return;
if (v->type == VEH_TRAIN && !IsTileType(v->tile, MP_STATION)) {
/* The train reversed in the station. Take the "easy" way
* out and let the train just leave as it always did. */
SETBIT(v->vehicle_flags, VF_LOADING_FINISHED);
int unloading_time = 0;
Vehicle *u = v;
int result = 0;
int cap;
bool completely_empty = true;
Status change: