Codechange: Give ColourShade values names instead of numbers.

This commit is contained in:
Peter Nelson
2023-12-28 10:04:55 +00:00
committed by Peter Nelson
parent ae3390fe48
commit 912d7bd80e
19 changed files with 55 additions and 55 deletions

View File

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