mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-22 16:19:19 +02:00
merged upstream changes
This commit is contained in:
@@ -4110,7 +4110,7 @@ double TMoverParameters::TractionForce(double dt)
|
||||
{
|
||||
case 1:
|
||||
{
|
||||
if (ActiveDir != 0)
|
||||
if (ActiveDir != 0 && RList[MainCtrlActualPos].R > RVentCutOff)
|
||||
RventRot += (RVentnmax - RventRot) * RVentSpeed * dt;
|
||||
else
|
||||
RventRot *= (1.0 - RVentSpeed * dt);
|
||||
|
||||
@@ -4085,7 +4085,7 @@ begin
|
||||
if (EngineType=ElectricSeriesMotor) then
|
||||
begin
|
||||
case RVentType of {wentylatory rozruchowe}
|
||||
1: if ActiveDir<>0 then
|
||||
1: if (ActiveDir<>0) and (RList[MainCtrlActualPos].R>RVentCutOff) then
|
||||
RventRot:=RventRot+(RVentnmax-RventRot)*RVentSpeed*dt
|
||||
else
|
||||
RventRot:=RventRot*(1-RVentSpeed*dt);
|
||||
|
||||
Reference in New Issue
Block a user