mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-03-22 15:05:03 +01:00
fixed recognition of train stops.
This commit is contained in:
@@ -59,7 +59,7 @@ double TTrainParameters::WatchMTable(double DistCounter)
|
||||
std::string TTrainParameters::NextStop()
|
||||
{ // pobranie nazwy następnego miejsca zatrzymania
|
||||
if (StationIndex <= StationCount)
|
||||
return "PassengerStopPoint:" + NextStationName; // nazwa następnego przystanku;
|
||||
return NextStationName; // nazwa następnego przystanku;
|
||||
else
|
||||
return "[End of route]"; //że niby koniec
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user