summaryrefslogtreecommitdiff
path: root/players.c
diff options
context:
space:
mode:
authortron <tron@openttd.org>2005-10-19 06:46:41 +0000
committertron <tron@openttd.org>2005-10-19 06:46:41 +0000
commit758ae7e8f63edbcc193443963e7a8cbe7dcac675 (patch)
treeb1be08aaabd03b45d086543edd2c1e7ae8031d8e /players.c
parentcb67ee9bf50e46d194b62920775e2a5998a1318b (diff)
downloadopenttd-758ae7e8f63edbcc193443963e7a8cbe7dcac675.tar.xz
(svn r3064) Replace some numbers by sprite names
Diffstat (limited to 'players.c')
-rw-r--r--players.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/players.c b/players.c
index 7169713cf..6c6ec6ae7 100644
--- a/players.c
+++ b/players.c
@@ -44,7 +44,7 @@ void DrawPlayerFace(uint32 face, int color, int x, int y)
flag |= 2;
/* draw the gradient */
- DrawSprite( (color + 0x307) << PALETTE_SPRITE_START | PALETTE_MODIFIER_COLOR | 0x36A, x, y);
+ DrawSprite((color + 0x307) << PALETTE_SPRITE_START | PALETTE_MODIFIER_COLOR | SPR_GRADIENT, x, y);
/* draw the cheeks */
DrawSprite(cheeks_table[flag&3], x, y);