players.c
changeset 4444 9c9c7f962482
parent 4428 0b0ee542d5b6
child 4549 60410aa1aa88
equal deleted inserted replaced
4443:4c2004c2e6f1 4444:9c9c7f962482
    32 {
    32 {
    33 	/* Get the color for DrawString-subroutines which matches the color of the
    33 	/* Get the color for DrawString-subroutines which matches the color of the
    34 	 * player
    34 	 * player
    35 	 */
    35 	 */
    36 	if (player == OWNER_SPECTATOR || player == OWNER_SPECTATOR - 1) return 1;
    36 	if (player == OWNER_SPECTATOR || player == OWNER_SPECTATOR - 1) return 1;
    37 	return (_color_list[_player_colors[player]].window_color_1b) | IS_PALETTE_COLOR;
    37 	return (_colour_gradient[_player_colors[player]][4]) | IS_PALETTE_COLOR;
    38 }
    38 }
    39 
    39 
    40 
    40 
    41 static const SpriteID cheeks_table[4] = {
    41 static const SpriteID cheeks_table[4] = {
    42 	0x325, 0x326,
    42 	0x325, 0x326,