diff options
Diffstat (limited to 'rail_cmd.c')
-rw-r--r-- | rail_cmd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rail_cmd.c b/rail_cmd.c index 653444ffa..206b9cbad 100644 --- a/rail_cmd.c +++ b/rail_cmd.c @@ -2006,7 +2006,7 @@ static uint32 VehicleEnter_Track(Vehicle *v, TileIndex tile, int x, int y) v->vehstatus |= VS_HIDDEN; /* hide it */ v->direction = ReverseDir(v->direction); if (v->next == NULL) - TrainEnterDepot(v, tile); + VehicleEnterDepot(v); v->tile = tile; InvalidateWindow(WC_VEHICLE_DEPOT, tile); return 4; |