From 86d34aff4b279300cbab2f61c8a100d577b31ce0 Mon Sep 17 00:00:00 2001 From: wolfy852 Date: Sun, 12 May 2019 03:07:17 -0500 Subject: [PATCH] Have "None" work as an alias for -1 --- src/d_netcmd.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/d_netcmd.c b/src/d_netcmd.c index 4ec54d28..56e4684f 100644 --- a/src/d_netcmd.c +++ b/src/d_netcmd.c @@ -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];