Have "None" work as an alias for -1

This commit is contained in:
wolfy852 2019-05-12 03:07:17 -05:00
parent f1a9426100
commit 86d34aff4b

View file

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