In HUD, curve radius displays in decimal miles

Bug #1987002 reported by Michael Loehr
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Open Rails
New
Undecided
Unassigned

Bug Description

Curve radius in North America (when used) is expressed in feet. Typical units for curvature on freight systems is Degree of Curvature.

Using Test Source Build = 0.0.8264.42519 (2022-08-17 23:37:18Z)
   1. Route: BNSF Scenic Sub, Explore Route, manual driver
   2. Route: BNSF Scenic Sub, + Explore in Activity Mode + AI driver enabled

Proposed modification is in line 1151 of HUDWindow.cs to display feet instead of meters when not in metric mode.

From:

   TableSetCell(table, 14, "{0}", FormatStrings.FormatDistance(car.CurrentCurveRadius, car.IsMetric));

To:

  TableSetCell(table, 14, "{0}", FormatStrings.FormatShortDistanceDisplay(car.CurrentCurveRadius, car.IsMetric));

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.