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

Poprawki po łączeniu wersji w wywołaniu funkcji DynObj::DestinationSet

This commit is contained in:
firleju
2016-09-13 06:46:13 +02:00
parent 4dcb496ec1
commit a16328acfa
2 changed files with 4 additions and 3 deletions

View File

@@ -39,7 +39,7 @@ double CompareTime(double t1h, double t1m, double t2h, double t2m) /*roznica cza
double TTrainParameters::CheckTrainLatency()
{
if ((LastStationLatency > 1.0) || (LastStationLatency < -1.0))
if ((LastStationLatency > 1.0) || (LastStationLatency < 0))
return LastStationLatency; /*spoznienie + lub do przodu - z tolerancja 1 min*/
else
return 0;