summaryrefslogtreecommitdiff
path: root/src/timetable_gui.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/timetable_gui.cpp')
-rw-r--r--src/timetable_gui.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/timetable_gui.cpp b/src/timetable_gui.cpp
index 09e3df844..1474de40d 100644
--- a/src/timetable_gui.cpp
+++ b/src/timetable_gui.cpp
@@ -670,6 +670,10 @@ static const WindowDesc _timetable_desc(
_nested_timetable_widgets, lengthof(_nested_timetable_widgets)
);
+/**
+ * Show the timetable for a given vehicle.
+ * @param v The vehicle to show the timetable for.
+ */
void ShowTimetableWindow(const Vehicle *v)
{
DeleteWindowById(WC_VEHICLE_DETAILS, v->index, false);