diff options
author | celestar <celestar@openttd.org> | 2005-07-24 15:56:31 +0000 |
---|---|---|
committer | celestar <celestar@openttd.org> | 2005-07-24 15:56:31 +0000 |
commit | a3739aecdf2d9c4090181064db39db463e79439a (patch) | |
tree | e02fce527cef08bc25354c995fecc8ddb0ab5318 /settings_gui.c | |
parent | 647cbd6bdd113f7202a07fe19ad73a6710a85414 (diff) | |
download | openttd-a3739aecdf2d9c4090181064db39db463e79439a.tar.xz |
(svn r2702) -Codechange: Cleaned up the sprite code and replaced many magic numbers
by enums. There remains work in gfx.c to move the "transparency" and
"recolor" bits around to make space for more sprites. However, 2800
additional sprites can now be loaded. There also remains cleanup and
Doxygen work on many of the header files.
Diffstat (limited to 'settings_gui.c')
-rw-r--r-- | settings_gui.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/settings_gui.c b/settings_gui.c index f2fdc4b83..cc3b22555 100644 --- a/settings_gui.c +++ b/settings_gui.c @@ -1180,7 +1180,7 @@ static void NewgrfWndProc(Window *w, WindowEvent *e) if(h) GfxFillRect(1, y + 1, 267, y + 12, 156); // XXX - will be grf name later DoDrawString(c->filename, 25, y + 2, h ? 0xC : 0x10); - DrawSprite(SPRITE_PALETTE(SPR_SQUARE | 0x30b8000), 5, y + 2); + DrawSprite(SPRITE_PALETTE(SPR_SQUARE | PALETTE_TO_RED), 5, y + 2); y += NEWGRF_WND_PROC_ROWSIZE; } |