@@ -1967,13 +1967,14 @@ CommandCost CmdRefitRailVehicle(TileInde
return cost;
}
/**
* returns the tile of a depot to goto to. The given vehicle must not be
* crashed! */
* crashed!
*/
static FindDepotData FindClosestTrainDepot(Train *v, int max_distance)
{
assert(!(v->vehstatus & VS_CRASHED));
if (IsRailDepotTile(v->tile)) return FindDepotData(v->tile, 0);