diff --git a/src/roadveh.h b/src/roadveh.h --- a/src/roadveh.h +++ b/src/roadveh.h @@ -139,7 +139,7 @@ struct RoadVehicle FINAL : public Ground uint Crash(bool flooded = false) override; Trackdir GetVehicleTrackdir() const override; TileIndex GetOrderStationLocation(StationID station) override; - bool FindClosestDepot(TileIndex *location, DestinationID *destination, bool *reverse) override; + ClosestDepot FindClosestDepot() override; bool IsBus() const;