(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 030f52e998
commit 90e2465d7d
13 changed files with 28 additions and 29 deletions

View File

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