16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-18 03:09:18 +02:00

AI fix for very slow driving of hydro diesel

This commit is contained in:
Królik Uszasty
2019-06-19 20:48:46 +02:00
committed by tmj-fstate
parent 6cf470d4f0
commit 1e272b380a

View File

@@ -3565,7 +3565,7 @@ void TController::SetTimeControllers()
}
else
{
DizelPercentage_Speed = std::min(DizelPercentage, mvControlling->Vel > 0.99 * VelDesired ? 1 : 0);
DizelPercentage_Speed = std::min(DizelPercentage, mvControlling->Vel < 0.99 * VelDesired ? 1 : 0);
}
auto const DizelActualPercentage { int(100.4 * mvControlling->eimic_real) };