Skip to content

Commit 86503f4

Browse files
committed
Correct input discrepancy for tractive force tables
1 parent de02eda commit 86503f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Source/Orts.Parsers.Msts/Interpolator.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,7 @@ public InterpolatorDiesel2D(STFReader stf, bool tab)
316316
stf.MustMatch("(");
317317
for (int i = 0; i < numOfRows; i++)
318318
{
319-
float x = stf.ReadFloat(STFReader.UNITS.SpeedDefaultMPH, 0);
319+
float x = stf.ReadFloat(STFReader.UNITS.Speed, 0);
320320
numofData++;
321321
for (int j = 0; j < numOfColumns - 1; j++)
322322
{

0 commit comments

Comments
 (0)