Cleanup: Remove some unused functions. (#11429)

These were picked up with cppcheck.
This commit is contained in:
Peter Nelson
2023-11-03 21:21:00 +00:00
committed by GitHub
parent 4c58df75fd
commit 7d4a91ef9e
15 changed files with 0 additions and 157 deletions

View File

@@ -427,12 +427,6 @@ public:
return next_trackdir;
}
static uint stDistanceToTile(const RoadVehicle *v, TileIndex tile)
{
Tpf pf;
return pf.DistanceToTile(v, tile);
}
inline uint DistanceToTile(const RoadVehicle *v, TileIndex dst_tile)
{
/* handle special case - when current tile is the destination tile */