From 238e47cd42c009f2ab1359428788a65a26fafebb Mon Sep 17 00:00:00 2001 From: celestar Date: Sun, 24 Jul 2005 15:56:31 +0000 Subject: (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. --- town_gui.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'town_gui.c') diff --git a/town_gui.c b/town_gui.c index ec84048a6..86794a7c7 100644 --- a/town_gui.c +++ b/town_gui.c @@ -138,7 +138,7 @@ static void TownAuthorityWndProc(Window *w, WindowEvent *e) SetDParam(4, str); if (t->exclusivity == p->index) // red icon for player with exclusive rights - DrawSprite((SPR_BLOT) | 0x30b8000, 18, y); + DrawSprite((SPR_BLOT) | PALETTE_TO_RED, 18, y); DrawString(28, y, STR_2024, 0); y+=10; -- cgit v1.2.3-54-g00ecf