diff options
author | belugas <belugas@openttd.org> | 2008-08-04 17:27:06 +0000 |
---|---|---|
committer | belugas <belugas@openttd.org> | 2008-08-04 17:27:06 +0000 |
commit | 5c3a18fa900df479166f281e245142a922557f80 (patch) | |
tree | 91f87960b623fb90f06cd958a9799541b65280f9 /src/gfx_func.h | |
parent | d21f73658ca53e91e54ca1115c69850778fbf3d5 (diff) | |
download | openttd-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.h | 2 |
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; |