From: havoc Date: Tue, 26 Oct 2004 08:22:02 +0000 (+0000) Subject: fix the "newname changed name to newname" bug X-Git-Tag: xonotic-v0.1.0preview~5416 X-Git-Url: https://de.git.xonotic.org/?a=commitdiff_plain;h=1e2e6e3e24f77a82cfffd72487b54767980c45d0;p=xonotic%2Fdarkplaces.git fix the "newname changed name to newname" bug git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4713 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/host_cmd.c b/host_cmd.c index f76abd99..7324da76 100644 --- a/host_cmd.c +++ b/host_cmd.c @@ -763,7 +763,7 @@ void Host_Name_f (void) 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);