mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-01-17 23:21:22 +00:00
Fix yellow
This commit is contained in:
parent
c6c67d45b0
commit
14b157b98d
1 changed files with 3 additions and 3 deletions
|
@ -536,15 +536,15 @@ static void R_GenerateTranslationColormap(UINT8 *dest_colormap, INT32 skinnum, U
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case SKINCOLOR_YELLOW:
|
case SKINCOLOR_YELLOW:
|
||||||
// 9 colors
|
// 10 colors
|
||||||
for (i = 0; i < SKIN_RAMP_LENGTH; i++)
|
for (i = 0; i < SKIN_RAMP_LENGTH; i++)
|
||||||
{
|
{
|
||||||
if (i == 0)
|
if (i == 0)
|
||||||
dest_colormap[starttranscolor + i] = 0x48; // Lightest
|
dest_colormap[starttranscolor + i] = 0x53; // Lightest
|
||||||
else if (i == 15)
|
else if (i == 15)
|
||||||
dest_colormap[starttranscolor + i] = 0xDD; // Darkest
|
dest_colormap[starttranscolor + i] = 0xDD; // Darkest
|
||||||
else
|
else
|
||||||
dest_colormap[starttranscolor + i] = (UINT8)(skinbasecolors[color - 1] + (8*(i-1)/SKIN_RAMP_LENGTH));
|
dest_colormap[starttranscolor + i] = (UINT8)(skinbasecolors[color - 1] + (8*i/SKIN_RAMP_LENGTH));
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue