(svn r13005) -Codechange: prepare AllocateWindowDescFront for subclassing of Window.

This commit is contained in:
rubidium
2008-05-08 11:50:34 +00:00
parent 51cda2252c
commit 92aac531c2
28 changed files with 75 additions and 76 deletions

View File

@@ -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;