frikbots don't flush the client slots properly.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@178 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2004-09-08 00:46:18 +00:00
parent 22df4f4dd8
commit 45dfeb3bd3

View file

@ -716,7 +716,10 @@ void NPP_QWFlush(void)
if (buffer[6])
{
Q_strncpyz(svs.clients[buffer[1]].userinfo, (buffer+6), sizeof(svs.clients[0].userinfo));
SV_ExtractFromUserinfo(&svs.clients[buffer[1]]);
if (*Info_ValueForKey(svs.clients[buffer[1]].userinfo, "name"))
SV_ExtractFromUserinfo(&svs.clients[buffer[1]]);
else
*svs.clients[buffer[1]].name = '\0';
}
else
{