]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
don't echo player messages if not a dedicated server (as it produces double echoes)
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 30 May 2005 23:09:32 +0000 (23:09 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 30 May 2005 23:09:32 +0000 (23:09 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5363 d7cf8633-e32d-0410-b094-e92efae38249

host_cmd.c

index 01fcc7d2a4b7d8ad7414a923aa04851d8fa27d5f..e31254bc808846b0460fa5afbef63eefd800001f 100644 (file)
@@ -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]);
 }