(svn r15427) -Codechange: give w->caption_color a more sensible name as it holds the owner of whatever is shown in the window

This commit is contained in:
rubidium
2009-02-09 02:33:10 +00:00
parent 7df760b9c3
commit c7f3daacbf
13 changed files with 28 additions and 29 deletions

View File

@@ -51,7 +51,7 @@ struct TimetableWindow : Window {
TimetableWindow(const WindowDesc *desc, WindowNumber window_number) : Window(desc, window_number)
{
this->vehicle = GetVehicle(window_number);
this->caption_color = this->vehicle->owner;
this->owner = this->vehicle->owner;
this->vscroll.cap = 8;
this->resize.step_height = 10;
this->sel_index = -1;