forked from mirror/OpenTTD
(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:
@@ -803,7 +803,7 @@ struct BuildVehicleWindow : Window {
|
||||
this->resize.width = this->width;
|
||||
this->resize.height = this->height;
|
||||
|
||||
this->caption_color = (tile != INVALID_TILE) ? GetTileOwner(tile) : _local_company;
|
||||
this->owner = (tile != INVALID_TILE) ? GetTileOwner(tile) : _local_company;
|
||||
|
||||
this->sel_engine = INVALID_ENGINE;
|
||||
this->regenerate_list = false;
|
||||
|
Reference in New Issue
Block a user