]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - sv_main.c
Added standard color escapes to "changed name to" broadcast prints
[xonotic/darkplaces.git] / sv_main.c
index 7af52fdf2ddd07d68a7c33e2fa020b480cd1a791..f019c4dfea394aa54c73ae3422097e19f671effd 100644 (file)
--- a/sv_main.c
+++ b/sv_main.c
@@ -1505,7 +1505,7 @@ void SV_UpdateToReliableMessages (void)
                if (strcmp(host_client->old_name, host_client->name))
                {
                        if (host_client->spawned)
-                               SV_BroadcastPrintf("%s changed name to %s\n", host_client->old_name, host_client->name);
+                               SV_BroadcastPrintf("%s^%i changed name to %s\n", host_client->old_name, STRING_COLOR_DEFAULT, host_client->name);
                        strlcpy(host_client->old_name, host_client->name, sizeof(host_client->old_name));
                        // send notification to all clients
                        MSG_WriteByte (&sv.reliable_datagram, svc_updatename);