16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-22 16:19:19 +02:00
This commit is contained in:
Królik Uszasty
2019-09-22 18:39:16 +02:00
parent 6d66bfeaed
commit 7e426ebd78

View File

@@ -4387,7 +4387,7 @@ void TMoverParameters::ComputeTotalForce(double dt) {
Fb *= factor; Fb *= factor;
FTrain *= factor; FTrain *= factor;
} }
if (std::abs(nrot < 0.1)) if (std::abs(nrot) < 0.1)
{ {
WheelFlat = sqrt(square(WheelFlat) + abs(Fwheels) / NAxles*Vel*0.000002); WheelFlat = sqrt(square(WheelFlat) + abs(Fwheels) / NAxles*Vel*0.000002);
} }