mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-20 06:49:19 +02:00
Fix for speed control unit for TRAXX
This commit is contained in:
@@ -688,7 +688,7 @@ struct speed_control {
|
||||
bool BrakeIntervention = false;
|
||||
bool BrakeInterventionBraking = false;
|
||||
bool BrakeInterventionUnbraking = false;
|
||||
bool Standby = true;
|
||||
bool Standby = false;
|
||||
bool Parking = false;
|
||||
double InitialPower = 1.0;
|
||||
double FullPowerVelocity = -1;
|
||||
|
||||
@@ -5554,6 +5554,7 @@ double TMoverParameters::TractionForce( double dt ) {
|
||||
//tempomat
|
||||
if (ScndCtrlPosNo == 4 && SpeedCtrlTypeTime)
|
||||
{
|
||||
SpeedCtrlUnit.IsActive = SpeedCtrlValue > 0;
|
||||
switch (ScndCtrlPos) {
|
||||
case 0:
|
||||
NewSpeed = 0;
|
||||
|
||||
Reference in New Issue
Block a user