summaryrefslogtreecommitdiff
path: root/src/graph_gui.cpp
diff options
context:
space:
mode:
authorbelugas <belugas@openttd.org>2008-08-04 17:27:06 +0000
committerbelugas <belugas@openttd.org>2008-08-04 17:27:06 +0000
commit5c3a18fa900df479166f281e245142a922557f80 (patch)
tree91f87960b623fb90f06cd958a9799541b65280f9 /src/graph_gui.cpp
parentd21f73658ca53e91e54ca1115c69850778fbf3d5 (diff)
downloadopenttd-5c3a18fa900df479166f281e245142a922557f80.tar.xz
(svn r13994) -Codechange: replace a few rogue magic numbers with Colours enum values
Diffstat (limited to 'src/graph_gui.cpp')
-rw-r--r--src/graph_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/graph_gui.cpp b/src/graph_gui.cpp
index 247a5f1f8..fd7185f80 100644
--- a/src/graph_gui.cpp
+++ b/src/graph_gui.cpp
@@ -159,7 +159,7 @@ protected:
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;