mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-21 21:49:19 +02:00
diesel powered vehicle smoke transparency tweak, hardware brake handle support enhancement
This commit is contained in:
@@ -5385,7 +5385,7 @@ double TMoverParameters::TractionForce( double dt ) {
|
||||
/ 60.0 );
|
||||
}
|
||||
// NOTE: fake dizel_fill calculation for the sake of smoke emitter which uses this parameter to determine smoke opacity
|
||||
dizel_fill = clamp( 0.2 + 0.35 * ( tmp - enrot ), 0.0, 1.0 );
|
||||
dizel_fill = clamp( 0.2 + 0.35 * ( tmp - enrot ) + 0.5 * ( std::abs( Im ) / DElist[ MainCtrlPosNo ].Imax ), 0.05, 1.0 );
|
||||
}
|
||||
else {
|
||||
tmp = 0.0;
|
||||
|
||||
Reference in New Issue
Block a user