mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-22 09:19:18 +02:00
Fix for dynamic brake test
This commit is contained in:
@@ -6496,7 +6496,7 @@ TController::UpdateSituation(double dt) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
// koniec predkosci aktualnej
|
// koniec predkosci aktualnej
|
||||||
if (Global.DynamicBrakeTest)
|
if (Global.DynamicBrakeTest && AIControllFlag)
|
||||||
{
|
{
|
||||||
// hamowanie kontrolne
|
// hamowanie kontrolne
|
||||||
if ((OrderCurrentGet() & Obey_train) && (DynamicBrakeTest == 0) && (vel < VelDesired)
|
if ((OrderCurrentGet() & Obey_train) && (DynamicBrakeTest == 0) && (vel < VelDesired)
|
||||||
|
|||||||
Reference in New Issue
Block a user