From a3fe8d56b84323f7163f984401dbe40d30b3ebba Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Fri, 29 Jun 2012 15:13:03 +0900 Subject: [PATCH] Don't broadcast name changes for spectators. At the request of freewill. There might be a better mechanism, though... --- qw/source/sv_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qw/source/sv_main.c b/qw/source/sv_main.c index ebe999cb9..a37904a11 100644 --- a/qw/source/sv_main.c +++ b/qw/source/sv_main.c @@ -2395,7 +2395,7 @@ SV_ExtractFromUserinfo (client_t *cl) } // finally, report it to all our friends - if (*cl->name) + if (!cl->spectator && *cl->name) SV_BroadcastPrintf (PRINT_HIGH, "%s changed name to %s\n", cl->name, newname); strcpy (cl->name, newname);