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

Fixed PN+ED blending

This commit is contained in:
Królik Uszasty
2018-07-08 14:22:05 +02:00
committed by tmj-fstate
parent 67de8b59e7
commit 80909a2a9d

View File

@@ -5034,7 +5034,8 @@ double TMoverParameters::TractionForce( double dt ) {
{
PosRatio = -Sign(V) * DirAbsolute * eimv[eimv_Fr] /
(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
{