Comment 2 for bug 1662100

Revision history for this message
Michael J. Roth (hotti1) wrote :

Thank you Bill.

Yesterday i downloaded the source from OR.
After reading the code to understand the context i've already found this line.
I have corrected the boolean value to
float speed = 10 * MpS.FromMpS(playerLoco.SpeedMpS, playerLoco.IsMetric);

After compiling OpenRails on my computer and testing it, the Problem is solved.
Now it works depending from the routes setting (MilepostUnitsKilometers / MilepostUnitsMiles) and the user options.

The improved file UserInputRailDriver.cs i have attached. Maybe you can use them as a fix.

Thanky you and regards,
Mike