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

replace slashes during timetable loading

This commit is contained in:
milek7
2019-01-01 01:04:30 +01:00
parent 8802b34e0e
commit b614b095ad

View File

@@ -206,6 +206,7 @@ bool TTrainParameters::LoadTTfile(std::string scnpath, int iPlus, double vmax)
// Ra 2014-09: ustalić zasady wyznaczenia pierwotnego pliku przy przesuniętych rozkładach
// (kolejny pociąg dostaje numer +2)
fin.open(s.c_str()); // otwieranie pliku
replace_slashes(s);
if (!fin.is_open())
{ // jeśli nie ma pliku