(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:
@@ -36,7 +36,7 @@ public:
|
||||
WaypointWindow(const WindowDesc *desc, WindowNumber window_number) : Window(desc, window_number)
|
||||
{
|
||||
this->wp = GetWaypoint(this->window_number);
|
||||
this->caption_color = this->wp->owner;
|
||||
this->owner = this->wp->owner;
|
||||
|
||||
this->flags4 |= WF_DISABLE_VP_SCROLL;
|
||||
InitializeWindowViewport(this, 3, 17, 254, 86, this->wp->xy, ZOOM_LVL_MIN);
|
||||
|
Reference in New Issue
Block a user