|
|
|
@ -53,6 +53,7 @@
|
|
|
|
|
#include "linkgraph/refresh.h"
|
|
|
|
|
#include "tracerestrict.h"
|
|
|
|
|
#include "tbtr_template_vehicle.h"
|
|
|
|
|
#include "scope_info.h"
|
|
|
|
|
|
|
|
|
|
#include "table/strings.h"
|
|
|
|
|
#include "table/pricebase.h"
|
|
|
|
@ -1679,6 +1680,8 @@ static void LoadUnloadVehicle(Vehicle *front)
|
|
|
|
|
if (front->type == VEH_TRAIN) station_vehicle = Train::From(front)->GetStationLoadingVehicle();
|
|
|
|
|
TileIndex station_tile = station_vehicle->tile;
|
|
|
|
|
|
|
|
|
|
SCOPE_INFO_FMT([&], "LoadUnloadVehicle: %s, %s, %s, %X", scope_dumper().StationInfo(st), scope_dumper().VehicleInfo(front), scope_dumper().VehicleInfo(station_vehicle), station_tile);
|
|
|
|
|
|
|
|
|
|
bool pull_through_mode = false;
|
|
|
|
|
bool load_unload_not_yet_in_station = false;
|
|
|
|
|
if (front->type == VEH_TRAIN && front->cur_real_order_index < front->GetNumOrders()) {
|
|
|
|
|