16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-22 19:49:19 +02:00

Poprawka na działanie wentylatorów rozruchowych

This commit is contained in:
firleju
2017-01-19 18:03:50 +01:00
parent dcf91d9044
commit 7426607a93

View File

@@ -4107,7 +4107,7 @@ double TMoverParameters::TractionForce(double dt)
{ {
case 1: case 1:
{ {
if (ActiveDir != 0) if (ActiveDir != 0 && RList[MainCtrlActualPos].R > RVentCutOff)
RventRot += (RVentnmax - RventRot) * RVentSpeed * dt; RventRot += (RVentnmax - RventRot) * RVentSpeed * dt;
else else
RventRot *= (1.0 - RVentSpeed * dt); RventRot *= (1.0 - RVentSpeed * dt);