Fix velocity unit names used in cargo payments graph window

This commit is contained in:
Jonathan G Rennison
2024-03-31 17:48:58 +01:00
parent 4d47eee48d
commit 0008e7d769
3 changed files with 28 additions and 1 deletions

View File

@@ -71,6 +71,8 @@ uint32_t GetStringGRFID(StringID string);
uint ConvertKmhishSpeedToDisplaySpeed(uint speed, VehicleType type);
uint ConvertDisplaySpeedToKmhishSpeed(uint speed, VehicleType type);
StringID GetVelocityUnitName(VehicleType type);
/**
* Pack velocity and vehicle type for use with SCC_VELOCITY string parameter.
* @param speed Display speed for parameter.