mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
COM_Help_f: Adjust Color_cons_t (and catch Followercolor_cons_t) per review
This commit is contained in:
parent
317c30f7c1
commit
0964ba5c7b
1 changed files with 14 additions and 3 deletions
|
|
@ -910,17 +910,28 @@ static void COM_Help_f(void)
|
|||
CONS_Printf(" Yes or No (On or Off, 1 or 0)\n");
|
||||
else if (cvar->PossibleValue == CV_OnOff)
|
||||
CONS_Printf(" On or Off (Yes or No, 1 or 0)\n");
|
||||
else if (cvar->PossibleValue == Color_cons_t)
|
||||
else if (cvar->PossibleValue == Color_cons_t || cvar->PossibleValue == Followercolor_cons_t)
|
||||
{
|
||||
boolean follower = (cvar->PossibleValue == Followercolor_cons_t);
|
||||
for (i = SKINCOLOR_NONE; i < numskincolors; ++i)
|
||||
{
|
||||
if (K_ColorUsable(i, false) == true)
|
||||
if (K_ColorUsable(i, follower) == true)
|
||||
{
|
||||
CONS_Printf(" %-2d : %s\n", i, skincolors[i].name);
|
||||
CONS_Printf(" %-3d : %s\n", i, skincolors[i].name);
|
||||
if (i == cvar->value)
|
||||
cvalue = skincolors[i].name;
|
||||
}
|
||||
}
|
||||
|
||||
if (follower)
|
||||
{
|
||||
CONS_Printf(" %-3d : %s\n", FOLLOWERCOLOR_MATCH, "Match");
|
||||
if (FOLLOWERCOLOR_MATCH == cvar->value)
|
||||
cvalue = "Match";
|
||||
CONS_Printf(" %-3d : %s\n", FOLLOWERCOLOR_MATCH, "Opposite");
|
||||
if (FOLLOWERCOLOR_OPPOSITE == cvar->value)
|
||||
cvalue = "Opposite";
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue