From: havoc Date: Mon, 30 May 2005 23:09:32 +0000 (+0000) Subject: don't echo player messages if not a dedicated server (as it produces double echoes) X-Git-Tag: xonotic-v0.1.0preview~4819 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=ddbf1199123be08b34ee2bb2693cdfc7ceaae999;p=xonotic%2Fdarkplaces.git don't echo player messages if not a dedicated server (as it produces double echoes) git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5363 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/host_cmd.c b/host_cmd.c index 01fcc7d2..e31254bc 100644 --- a/host_cmd.c +++ b/host_cmd.c @@ -951,7 +951,8 @@ void Host_Say(qboolean teamonly) SV_ClientPrint(text); host_client = save; - Con_Print(&text[1]); + if (cls.state == ca_dedicated) + Con_Print(&text[1]); }