(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

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