diff options
author | belugas <belugas@openttd.org> | 2006-03-24 18:16:39 +0000 |
---|---|---|
committer | belugas <belugas@openttd.org> | 2006-03-24 18:16:39 +0000 |
commit | ed86c3d818e8f61b2fe5cf7344a6db556ad87a34 (patch) | |
tree | 0b28a6b60c9227ace9353683266a32927594287b /main_gui.c | |
parent | bdfe20ae739e5cacd5d8ee90b48d6467841293bc (diff) | |
download | openttd-ed86c3d818e8f61b2fe5cf7344a6db556ad87a34.tar.xz |
(svn r4092) CodeChange : Named sprites instead of magic numbers plus create/use helper macro/enum for recoloring scheme
Diffstat (limited to 'main_gui.c')
-rw-r--r-- | main_gui.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main_gui.c b/main_gui.c index afdbbff7d..2c554d507 100644 --- a/main_gui.c +++ b/main_gui.c @@ -2404,7 +2404,7 @@ void SetupColorsAndInitialWindow(void) int width,height; for (i = 0; i != 16; i++) { - const byte* b = GetNonSprite(0x307 + i); + const byte* b = GetNonSprite(PALETTE_RECOLOR_START + i); assert(b); _color_list[i] = *(const ColorList*)(b + 0xC6); |