Mercurial > hg > openttd
diff src/graph_gui.cpp @ 9850:00c8758ef6b8 draft
(svn r13994) -Codechange: replace a few rogue magic numbers with Colours enum values
author | belugas <belugas@openttd.org> |
---|---|
date | Mon, 04 Aug 2008 17:27:06 +0000 |
parents | 21aeba858939 |
children | 5aa8480f318a |
line wrap: on
line diff
--- a/src/graph_gui.cpp +++ b/src/graph_gui.cpp @@ -159,7 +159,7 @@ assert(GRAPH_MAX_DATASETS >= (int)NUM_CARGO && GRAPH_MAX_DATASETS >= (int)MAX_PLAYERS); assert(this->num_vert_lines > 0); - byte grid_colour = _colour_gradient[14][4]; + byte grid_colour = _colour_gradient[COLOUR_GREY][4]; /* The coordinates of the opposite edges of the graph. */ int bottom = this->gd_top + this->gd_height - 1;