Use character's prefcolour before color selection for that player

This commit is contained in:
toaster 2022-11-06 17:06:29 +00:00
parent 44f869e5e6
commit 59cd7bfc11

View file

@ -1274,7 +1274,10 @@ static void M_DrawCharSelectSprite(UINT8 num, INT16 x, INT16 y, boolean charflip
cnum = setup_page;
skin = setup_chargrid[p->gridx][p->gridy].skinlist[cnum];
color = p->color;
if (p->mdepth < CSSTEP_COLORS)
color = skins[skin].prefcolor;
else
color = p->color;
colormap = R_GetTranslationColormap(skin, color, GTC_MENUCACHE);
if (skin >= 0)