mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Have "None" work as an alias for -1
This commit is contained in:
parent
7dff052a64
commit
54d61b188c
1 changed files with 7 additions and 0 deletions
|
|
@ -5335,6 +5335,13 @@ static void Follower_OnChange(void)
|
||||||
strlwr(str);
|
strlwr(str);
|
||||||
if (stricmp(cpy,"0") !=0 && !atoi(cpy)) // yep, that's a string alright...
|
if (stricmp(cpy,"0") !=0 && !atoi(cpy)) // yep, that's a string alright...
|
||||||
{
|
{
|
||||||
|
if (stricmp(cpy, "None") == 0)
|
||||||
|
{
|
||||||
|
CV_StealthSet(&cv_follower, "-1");
|
||||||
|
SendNameAndColor();
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
INT32 num = R_FollowerAvailable(str);
|
INT32 num = R_FollowerAvailable(str);
|
||||||
char set[10];
|
char set[10];
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue