mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-02-17 11:06:30 +00:00
M_DrawCharSelectCircle: Fix offset colour id when number of colors available is odd VS even
This commit is contained in:
parent
a3640110ae
commit
6d2e120e77
1 changed files with 2 additions and 2 deletions
|
|
@ -1299,7 +1299,7 @@ static void M_DrawCharSelectCircle(setup_player_t *p, INT16 x, INT16 y)
|
|||
|
||||
if (i == 0)
|
||||
{
|
||||
n = l = r = M_GetColorBefore(&p->colors, p->color, (numoptions/2) - 1);
|
||||
n = l = r = M_GetColorBefore(&p->colors, p->color, (numoptions/2) - (numoptions & 1));
|
||||
}
|
||||
else if (subtract)
|
||||
{
|
||||
|
|
@ -1428,7 +1428,7 @@ static void M_DrawCharSelectCircle(setup_player_t *p, INT16 x, INT16 y)
|
|||
|
||||
if (i == 0)
|
||||
{
|
||||
n = l = r = M_GetColorBefore(&p->colors, p->followercolor, (numoptions/2) - 1);
|
||||
n = l = r = M_GetColorBefore(&p->colors, p->followercolor, (numoptions/2) - (numoptions & 1));
|
||||
}
|
||||
else if (subtract)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue