(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:
@@ -243,7 +243,7 @@ struct DepotWindow : Window {
|
||||
this->sel = INVALID_VEHICLE;
|
||||
this->generate_list = true;
|
||||
|
||||
this->caption_color = GetTileOwner(tile);
|
||||
this->owner = GetTileOwner(tile);
|
||||
this->CreateDepotListWindow(type);
|
||||
|
||||
this->FindWindowPlacementAndResize(desc);
|
||||
|
Reference in New Issue
Block a user