mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-03-22 02:42:20 +00:00
Add prefoppoistecolor support to save cards
This commit is contained in:
parent
d9e2256a3c
commit
2b615aa09c
1 changed files with 10 additions and 2 deletions
12
src/m_menu.c
12
src/m_menu.c
|
@ -8068,8 +8068,16 @@ static void M_DrawLoadGameData(void)
|
|||
col = 134;
|
||||
else
|
||||
{
|
||||
col = charskin->prefcolor - 1;
|
||||
col = Color_Index[Color_Opposite[col][0]-1][Color_Opposite[col][1]];
|
||||
if (charskin->prefoppositecolor)
|
||||
{
|
||||
col = charskin->prefoppositecolor - 1;
|
||||
col = Color_Index[col][Color_Opposite[Color_Opposite[col][0] - 1][1]];
|
||||
}
|
||||
else
|
||||
{
|
||||
col = charskin->prefcolor - 1;
|
||||
col = Color_Index[Color_Opposite[col][0]-1][Color_Opposite[col][1]];
|
||||
}
|
||||
}
|
||||
|
||||
V_DrawFill(x+6, y+64, 72, 50, col);
|
||||
|
|
Loading…
Reference in a new issue