fixed renameclient (rid#1258749)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1381 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
5f55ba34bf
commit
9170900726
1 changed files with 1 additions and 1 deletions
|
@ -696,7 +696,7 @@ void SV_ForceName_f (void)
|
|||
{
|
||||
Info_SetValueForKey(cl->userinfo, "name", Cmd_Argv(2), MAX_INFO_STRING);
|
||||
SV_ExtractFromUserinfo(cl);
|
||||
Q_strncpyz(cl->name, Cmd_Argv(2), sizeof(cl->name));
|
||||
Q_strncpyz(cl->name, Cmd_Argv(2), sizeof(cl->namebuf));
|
||||
i = cl - svs.clients;
|
||||
MSG_WriteByte (&sv.reliable_datagram, svc_setinfo);
|
||||
MSG_WriteByte (&sv.reliable_datagram, i);
|
||||
|
|
Loading…
Reference in a new issue