diff --git a/roadveh_cmd.c b/roadveh_cmd.c index a640351ffd..c3ca908c60 100644 --- a/roadveh_cmd.c +++ b/roadveh_cmd.c @@ -1611,10 +1611,6 @@ static void CheckIfRoadVehNeedsService(Vehicle *v) InvalidateWindowWidget(WC_VEHICLE_VIEW, v->index, STATUS_BAR); } -int dist_compare(const void *a, const void *b) -{ - return ( *(const uint32 *)a) - ( *(const uint32 *) b); -} void OnNewDay_RoadVeh(Vehicle *v) {