From 2de1de4999a2dd6ce4d14cc1ffaaa3aebe349b4e Mon Sep 17 00:00:00 2001 From: milek7 Date: Wed, 13 Sep 2017 22:37:27 +0200 Subject: [PATCH] crash fix --- Driver.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Driver.h b/Driver.h index 40190aa2..9d0ec8f8 100644 --- a/Driver.h +++ b/Driver.h @@ -174,7 +174,7 @@ static const int BrakeAccTableSize = 20; class TController { private: // obsługa tabelki prędkości (musi mieć możliwość odhaczania stacji w rozkładzie) - size_t iLast{ 0 }; // ostatnia wypełniona pozycja w tabeli sSpeedTable; double fLastVel = 0.0; // prędkość na poprzednio sprawdzonym torze