mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-22 19:49:19 +02:00
Fixed PN+ED blending
This commit is contained in:
committed by
tmj-fstate
parent
67de8b59e7
commit
80909a2a9d
@@ -5034,7 +5034,8 @@ double TMoverParameters::TractionForce( double dt ) {
|
|||||||
{
|
{
|
||||||
PosRatio = -Sign(V) * DirAbsolute * eimv[eimv_Fr] /
|
PosRatio = -Sign(V) * DirAbsolute * eimv[eimv_Fr] /
|
||||||
(eimc[eimc_p_Fh] *
|
(eimc[eimc_p_Fh] *
|
||||||
Max0R(Max0R(dtrans,0.01) / MaxBrakePress[0], AnPos) /*dizel_fill*/);
|
Max0R(dtrans,Max0R(0.01,Hamulec->GetEDBCP())) / MaxBrakePress[0]);
|
||||||
|
PosRatio = clamp(PosRatio, 0.0, 1.0);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user