16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-21 14:49:19 +02:00

Small fix for Driver's calculation of med braking

This commit is contained in:
Królik Uszasty
2021-05-01 23:28:48 +02:00
parent 87aa760c20
commit 3401f3e176
3 changed files with 4 additions and 2 deletions

View File

@@ -354,6 +354,7 @@ public:
int UniversalBrakeButtons = 0.0; // flag of which universal buttons need to be pressed
int DizelPercentage = 0; // oczekiwane procenty jazdy/hamowania szynobusem
int DizelPercentage_Speed = 0; // oczekiwane procenty jazdy/hamowania szynobusem w związku z osiąganiem VelDesired
double fMedAmax = 0.8; //maximum decceleration when using ep/med brake
private:
bool Psyche = false;
int HelperState = 0; //stan pomocnika maszynisty