Csantucci, on 21 June 2016 - 03:55 AM, said:
These are the lines that determine wether a metric or mile speed indication has to be displayed
So it is metric if any of following conditions is satisfied:
- "Metric" has been selected in the "Other measures" option
- in the route trk file the milepost units is metric
- "Automatic" has been selected in the "Other measures" option and the Windows says we are metric (I don't know how Windows does manage that).
IsMetric = Simulator.Settings.Units == "Metric" || (Simulator.Settings.Units == "Automatic" && System.Globalization.RegionInfo.CurrentRegion.IsMetric) || (Simulator.Settings.Units == "Route" && Simulator.TRK.Tr_RouteFile.MilepostUnitsMetric);
So it is metric if any of following conditions is satisfied:
- "Metric" has been selected in the "Other measures" option
- in the route trk file the milepost units is metric
- "Automatic" has been selected in the "Other measures" option and the Windows says we are metric (I don't know how Windows does manage that).
Perfect! So it is not a bug at all. I have changed my laptop's settings to English because of keyboard compatibility with a simulator. It doesn't really affect my daily basis neither it does with Open Rails itself, but now I understand why does it show mph in the HUD. :)
Thanks Carlo!