]> de.git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
Added return to standard color coding in the "Player entered the game" and "Client...
authordresk <dresk@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 24 Apr 2007 15:30:47 +0000 (15:30 +0000)
committerdresk <dresk@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 24 Apr 2007 15:30:47 +0000 (15:30 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7175 d7cf8633-e32d-0410-b094-e92efae38249

host.c
host_cmd.c

diff --git a/host.c b/host.c
index d1a9032f65d50d1bea254db2f8107edf6cf0aecb..735905cb1e69c0652da97f3ff66b0ac389459a61 100644 (file)
--- a/host.c
+++ b/host.c
@@ -418,7 +418,7 @@ if (crash = true), don't bother sending signofs
 void SV_DropClient(qboolean crash)
 {
        int i;
-       Con_Printf("Client \"%s\" dropped\n", host_client->name);
+       Con_Printf("Client \"%s^%i\" dropped\n", host_client->name, STRING_COLOR_DEFAULT);
 
        // make sure edict is not corrupt (from a level change for example)
        host_client->edict = PRVM_EDICT_NUM(host_client - svs.clients + 1);
index a740a416c329ab36d6995d6ab2efb77b7299121f..ba2f6a8d5e21edf688e58634593fd2d480aee5bf 100644 (file)
@@ -1401,7 +1401,7 @@ void Host_Spawn_f (void)
                PRVM_ExecuteProgram (prog->globals.server->ClientConnect, "QC function ClientConnect is missing");
 
                if (svs.maxclients > 1 || cls.state == ca_dedicated)
-                       Con_Printf("%s entered the game\n", host_client->name);
+                       Con_Printf("%s^%i entered the game\n", host_client->name, STRING_COLOR_DEFAULT);
 
                PRVM_ExecuteProgram (prog->globals.server->PutClientInServer, "QC function PutClientInServer is missing");
        }