diff options
author | rubidium <rubidium@openttd.org> | 2008-05-08 11:50:34 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2008-05-08 11:50:34 +0000 |
commit | 23fc96c3e8c252edbf2e7c22cefab633a0474410 (patch) | |
tree | 23ad171b2093a5c5980b9d912bf60056102af9fa /src/timetable_gui.cpp | |
parent | 2eef026fe35b9236606062f7d8a59d5661a5c748 (diff) | |
download | openttd-23fc96c3e8c252edbf2e7c22cefab633a0474410.tar.xz |
(svn r13005) -Codechange: prepare AllocateWindowDescFront for subclassing of Window.
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; |