From f6537e8878af740a7f9574f4503b1cd0233b93e6 Mon Sep 17 00:00:00 2001 From: Richard Allen Date: Sun, 17 Mar 2002 16:38:57 +0000 Subject: [PATCH] Colored nicks fucked up the string in $K messages. --- reaction/game/g_teamplay.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/reaction/game/g_teamplay.c b/reaction/game/g_teamplay.c index 200efffa..7f64e0f5 100644 --- a/reaction/game/g_teamplay.c +++ b/reaction/game/g_teamplay.c @@ -5,6 +5,9 @@ //----------------------------------------------------------------------------- // // $Log$ +// Revision 1.37 2002/03/17 16:38:57 jbravo +// Colored nicks fucked up the string in $K messages. +// // Revision 1.36 2002/03/17 03:35:29 jbravo // More radio tewaks and cleanups. // @@ -1173,10 +1176,11 @@ void GetLastKilledTarget (gentity_t * self, char * buf) if (kills > 0) { for (i = 1; i < kills + 1; i++) { if (i == kills) { - strcat (buf, " and "); + strcat (buf, "^5 and "); strcat (buf, self->client->lastkilled_client[i]->client->pers.netname); + strcat (buf, "^5"); } else { - strcat (buf, ", "); + strcat (buf, "^5, "); strcat (buf, self->client->lastkilled_client[i]->client->pers.netname); } }