(svn r4136) CodeChange : Revert part of r4092 (as spotted by Tron) and clean-up a little further
authorbelugas
Mon, 27 Mar 2006 14:28:56 +0000
changeset 3351 79a35ca72b84
parent 3350 7713360a51ad
child 3352 49d580a11385
(svn r4136) CodeChange : Revert part of r4092 (as spotted by Tron) and clean-up a little further
players.c
--- a/players.c	Mon Mar 27 06:18:02 2006 +0000
+++ b/players.c	Mon Mar 27 14:28:56 2006 +0000
@@ -45,7 +45,7 @@
 		flag |= 2;
 
 	/* draw the gradient */
-	DrawSprite(GENERAL_SPRITE_COLOR(color) | PALETTE_MODIFIER_COLOR | SPR_GRADIENT, x, y);
+	DrawSprite(GENERAL_SPRITE_COLOR(color) + SPRITE_PALETTE(SPR_GRADIENT), x, y);
 
 	/* draw the cheeks */
 	DrawSprite(cheeks_table[flag&3], x, y);
@@ -76,11 +76,11 @@
 			if (!(flag & 1)) {
 				DrawSprite(high+((val1 * 12 >> 4) + SPRITE_PALETTE(0x32B)), x, y);
 			} else {
-				DrawSprite(high+(val1 + (0x337 | PALETTE_MODIFIER_COLOR)), x, y);
+				DrawSprite(high+(val1 + SPRITE_PALETTE(0x337)), x, y);
 			}
 		} else {
 			if (!(flag & 1)) {
-				DrawSprite(high+(val1 + SPRITE_PALETTE(0x337)), x, y);
+				DrawSprite(high+((val1 * 11 >> 4) + SPRITE_PALETTE(0x39A)), x, y);
 			} else {
 				DrawSprite(high+(val1 + SPRITE_PALETTE(0x3B8)), x, y);
 			}