(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:
@@ -623,7 +623,7 @@ private:
|
||||
public:
|
||||
OrdersWindow(const WindowDesc *desc, const Vehicle *v) : Window(desc, v->index)
|
||||
{
|
||||
this->caption_color = v->owner;
|
||||
this->owner = v->owner;
|
||||
this->vscroll.cap = 6;
|
||||
this->resize.step_height = 10;
|
||||
this->selected_order = -1;
|
||||
|
Reference in New Issue
Block a user