summaryrefslogtreecommitdiff
path: root/src/gfx_func.h
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/gfx_func.h
parentd21f73658ca53e91e54ca1115c69850778fbf3d5 (diff)
downloadopenttd-5c3a18fa900df479166f281e245142a922557f80.tar.xz
(svn r13994) -Codechange: replace a few rogue magic numbers with Colours enum values
Diffstat (limited to 'src/gfx_func.h')
-rw-r--r--src/gfx_func.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gfx_func.h b/src/gfx_func.h
index 12f042c25..3d8204ee8 100644
--- a/src/gfx_func.h
+++ b/src/gfx_func.h
@@ -172,7 +172,7 @@ extern DrawPixelInfo *_cur_dpi;
* All 16 colour gradients
* 8 colours per gradient from darkest (0) to lightest (7)
*/
-extern byte _colour_gradient[16][8];
+extern byte _colour_gradient[COLOUR_END][8];
extern bool _use_dos_palette;