diff options
Diffstat (limited to 'src/timetable_gui.cpp')
-rw-r--r-- | src/timetable_gui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/timetable_gui.cpp b/src/timetable_gui.cpp index 8379c7486..e63e8f305 100644 --- a/src/timetable_gui.cpp +++ b/src/timetable_gui.cpp @@ -301,7 +301,7 @@ static const WindowDesc _timetable_desc = { void ShowTimetableWindow(const Vehicle *v) { - Window *w = AllocateWindowDescFront(&_timetable_desc, v->index); + Window *w = AllocateWindowDescFront<Window>(&_timetable_desc, v->index); if (w != NULL) { w->caption_color = v->owner; |