mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2024-12-31 23:00:57 +00:00
Have "None" work as an alias for -1
This commit is contained in:
parent
f1a9426100
commit
86d34aff4b
1 changed files with 7 additions and 0 deletions
|
@ -5335,6 +5335,13 @@ static void Follower_OnChange(void)
|
|||
strlwr(str);
|
||||
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);
|
||||
char set[10];
|
||||
|
||||
|
|
Loading…
Reference in a new issue