diff options
Diffstat (limited to 'src/pbs.cpp')
-rw-r--r-- | src/pbs.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pbs.cpp b/src/pbs.cpp index a738da913..213d1c051 100644 --- a/src/pbs.cpp +++ b/src/pbs.cpp @@ -256,7 +256,7 @@ PBSTileInfo FollowTrainReservation(const Vehicle *v, bool *train_on_res) assert(v->type == VEH_TRAIN); TileIndex tile = v->tile; - Trackdir trackdir = GetVehicleTrackdir(v); + Trackdir trackdir = v->GetVehicleTrackdir(); if (IsRailDepotTile(tile) && !GetRailDepotReservation(tile)) return PBSTileInfo(tile, trackdir, false); |