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

build 171227. cab shadows, wheel flat size as trigger for associated sound, ai diesel acceleration fix

This commit is contained in:
tmj-fstate
2017-12-27 21:10:52 +01:00
parent fcc490f1b8
commit e55f7ed02a
6 changed files with 329 additions and 132 deletions

View File

@@ -3541,10 +3541,11 @@ TController::UpdateSituation(double dt) {
|| ( vehicle->EngineType == DieselElectric ) ) {
Ready = (
vehicle->enrot > 0.9 * (
( vehicle->Vel > 0.5 )
|| ( vehicle->enrot > 0.8 * (
vehicle->EngineType == DieselEngine ?
vehicle->dizel_nmin :
vehicle->DElist[ 0 ].RPM / 60.0 ) );
vehicle->DElist[ 0 ].RPM / 60.0 ) ) );
}
p = p->Next(); // pojazd podłączony z tyłu (patrząc od czoła)
}