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

Changed diesel percentage threshold for AI

This commit is contained in:
Królik Uszasty
2019-06-29 09:04:03 +02:00
parent b3b1f30e9d
commit d291928935
2 changed files with 3 additions and 2 deletions

View File

@@ -3580,7 +3580,7 @@ void TController::SetTimeControllers()
}
}
if( std::abs( DizelPercentage_Speed - DizelActualPercentage ) > ( DizelPercentage > 1 ? 3 : 0 ) ) {
if( std::abs( DizelPercentage_Speed - DizelActualPercentage ) > ( DizelPercentage > 1 ? 0 : 0 ) ) {
if( ( PosDec > 0 )
&& ( ( DizelActualPercentage - DizelPercentage_Speed > 50 )