From 1e2e6e3e24f77a82cfffd72487b54767980c45d0 Mon Sep 17 00:00:00 2001 From: havoc Date: Tue, 26 Oct 2004 08:22:02 +0000 Subject: [PATCH] fix the "newname changed name to newname" bug git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4713 d7cf8633-e32d-0410-b094-e92efae38249 --- host_cmd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.39.2