Codechange: Give ColourShade values names instead of numbers.
This commit is contained in:

committed by
Peter Nelson

parent
ae3390fe48
commit
912d7bd80e
@@ -346,7 +346,7 @@ void BuildOwnerLegend()
|
||||
|
||||
int i = NUM_NO_COMPANY_ENTRIES;
|
||||
for (const Company *c : Company::Iterate()) {
|
||||
_legend_land_owners[i].colour = GetColourGradient(c->colour, SHADE_5);
|
||||
_legend_land_owners[i].colour = GetColourGradient(c->colour, SHADE_LIGHT);
|
||||
_legend_land_owners[i].company = c->index;
|
||||
_legend_land_owners[i].show_on_map = true;
|
||||
_legend_land_owners[i].col_break = false;
|
||||
|
Reference in New Issue
Block a user