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

Changed diesel percentage threshold for AI

This commit is contained in:
Królik Uszasty
2019-06-29 09:04:03 +02:00
committed by tmj-fstate
parent 7c07aa9682
commit 0f0c30dbff
2 changed files with 3 additions and 2 deletions

View File

@@ -3586,7 +3586,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 )