mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-18 01:59:19 +02:00
Added instant 0 for EIMCtrlType == 1 (Traxx)
This commit is contained in:
committed by
tmj-fstate
parent
18e46aa063
commit
05f0fbb7dd
@@ -5939,6 +5939,8 @@ void TMoverParameters::CheckEIMIC(double dt)
|
||||
eimic += clamp(1.0 - eimic, 0.0, dt*0.3); //dodawaj do 1, max
|
||||
break;
|
||||
}
|
||||
if (MainCtrlPos >= 3 && eimic < 0) eimic = 0;
|
||||
if (MainCtrlPos <= 3 && eimic > 0) eimic = 0;
|
||||
break;
|
||||
case 2:
|
||||
switch (MainCtrlPos)
|
||||
|
||||
Reference in New Issue
Block a user