From 8eeb21d2f785d320e47d7133c2624774e742ab6a Mon Sep 17 00:00:00 2001 From: dresk Date: Tue, 24 Apr 2007 15:30:47 +0000 Subject: [PATCH] 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 --- host.c | 2 +- host_cmd.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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"); } -- 2.39.2