git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4713
d7cf8633-e32d-0410-b094-
e92efae38249
if (strcmp(host_client->old_name, host_client->name))
{
if (host_client->spawned)
if (strcmp(host_client->old_name, host_client->name))
{
if (host_client->spawned)
- SV_BroadcastPrintf("%s changed name to %s\n", host_client->name, newName);
+ SV_BroadcastPrintf("%s changed name to %s\n", host_client->old_name, host_client->name);
strcpy(host_client->old_name, host_client->name);
// send notification to all clients
MSG_WriteByte (&sv.reliable_datagram, svc_updatename);
strcpy(host_client->old_name, host_client->name);
// send notification to all clients
MSG_WriteByte (&sv.reliable_datagram, svc_updatename);