@@ -364,14 +364,14 @@ public:
void RemoveVehicle(Vehicle *v);
bool IsCompleteTimetable() const;
/**
* Gets the total duration of the vehicles timetable or Tick::INVALID_TICKS is the timetable is not complete.
* @return total timetable duration or Tick::INVALID_TICKS for incomplete timetables
* Gets the total duration of the vehicles timetable or Ticks::INVALID_TICKS is the timetable is not complete.
* @return total timetable duration or Ticks::INVALID_TICKS for incomplete timetables
*/
inline TimerGameTick::Ticks GetTimetableTotalDuration() const { return this->IsCompleteTimetable() ? this->timetable_duration : Ticks::INVALID_TICKS; }
* Gets the known duration of the vehicles timetable even if the timetable is not complete.
* @return known timetable duration