Codechange: remove overloading on UpdateServiceInterval
One UpdateServiceInterval has two parameters to update the service interval for a vehicle type, the other for all vehicle types at once. Rename the latter to help with function resolution for the introduction of variants.
This commit is contained in:
@@ -833,7 +833,7 @@ static void UpdateConsists(int32 new_value)
|
||||
}
|
||||
|
||||
/* Check service intervals of vehicles, newvalue is value of % or day based servicing */
|
||||
static void UpdateServiceInterval(int32 new_value)
|
||||
static void UpdateAllServiceInterval(int32 new_value)
|
||||
{
|
||||
bool update_vehicles;
|
||||
VehicleDefaultSettings *vds;
|
||||
|
Reference in New Issue
Block a user