Add prefoppoistecolor support to save cards

This commit is contained in:
Steel Titanium 2020-02-15 17:34:21 -05:00
parent d9e2256a3c
commit 2b615aa09c
1 changed files with 10 additions and 2 deletions

View File

@ -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);