src/macros.h
changeset 5919 2b58160d667d
parent 5856 5ec748ba9325
child 6083 6594951c3d7e
--- a/src/macros.h	Sun Jan 14 19:44:27 2007 +0000
+++ b/src/macros.h	Sun Jan 14 19:57:49 2007 +0000
@@ -79,9 +79,8 @@
 #define SETBITS(x,y) ((x) |= (y))
 #define CLRBITS(x,y) ((x) &= ~(y))
 
-#define GENERAL_SPRITE_COLOR(color) ( ((color) + PALETTE_RECOLOR_START) << PALETTE_SPRITE_START)
-#define PLAYER_SPRITE_COLOR(owner) ( GENERAL_SPRITE_COLOR(_player_colors[owner]))
-#define SPRITE_PALETTE(x) ((x) | PALETTE_MODIFIER_COLOR)
+#define GENERAL_SPRITE_COLOR(color) ((color) + PALETTE_RECOLOR_START)
+#define PLAYER_SPRITE_COLOR(owner) (GENERAL_SPRITE_COLOR(_player_colors[owner]))
 
 extern const byte _ffb_64[128];
 /* Returns the position of the first bit that is not zero, counted from the