Dodanie inicjacji brakujących zmiennych.

This commit is contained in:
firleju
2017-01-12 20:51:45 +01:00
parent 6a7f636fdd
commit 7df7c8b76e
4 changed files with 22 additions and 9 deletions

View File

@@ -169,6 +169,9 @@ void TTrainParameters::NewName(std::string NewTrainName)
t->WaitTime = 0;
}
TTVmax = 100; /*wykasowac*/
BrakeRatio = 0;
LocSeries = "";
LocLoad = 0;
}
void TTrainParameters::UpdateVelocity(int StationCount, double vActual)
@@ -526,6 +529,7 @@ TMTableTime::TMTableTime(int InitH, int InitM, int InitSRH, int InitSRM, int Ini
srm = InitSRM;
ssh = InitSSH;
ssm = InitSSM;
mr = 0.0;
}
bool TTrainParameters::DirectionChange()