summaryrefslogtreecommitdiff
path: root/src/gfx.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/gfx.cpp
parentd21f73658ca53e91e54ca1115c69850778fbf3d5 (diff)
downloadopenttd-5c3a18fa900df479166f281e245142a922557f80.tar.xz
(svn r13994) -Codechange: replace a few rogue magic numbers with Colours enum values
Diffstat (limited to 'src/gfx.cpp')
-rw-r--r--src/gfx.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gfx.cpp b/src/gfx.cpp
index 73363bb6a..ad215d1bf 100644
--- a/src/gfx.cpp
+++ b/src/gfx.cpp
@@ -47,7 +47,7 @@ int _pal_count_dirty;
Colour _cur_palette[256];
byte _stringwidth_table[FS_END][224]; ///< Cache containing width of often used characters. @see GetCharacterWidth()
DrawPixelInfo *_cur_dpi;
-byte _colour_gradient[16][8];
+byte _colour_gradient[COLOUR_END][8];
bool _use_dos_palette;
static void GfxMainBlitter(const Sprite *sprite, int x, int y, BlitterMode mode, const SubSprite *sub = NULL);