From: dresk Date: Tue, 24 Apr 2007 15:30:47 +0000 (+0000) Subject: Added return to standard color coding in the "Player entered the game" and "Client... X-Git-Tag: xonotic-v0.1.0preview~3263 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=8eeb21d2f785d320e47d7133c2624774e742ab6a;p=xonotic%2Fdarkplaces.git Added return to standard color coding in the "Player entered the game" and "Client "Player" Dropped" messages git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7175 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/host.c b/host.c index d1a9032f..735905cb 100644 --- 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); diff --git a/host_cmd.c b/host_cmd.c index a740a416..ba2f6a8d 100644 --- a/host_cmd.c +++ b/host_cmd.c @@ -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"); }