From 9d6b8cceaed1388f09567e9ae2f01d442bad8aed Mon Sep 17 00:00:00 2001 From: "Tony J. White" Date: Fri, 2 Mar 2007 21:35:12 +0000 Subject: * (bug 2965) remove color codes from G_LogPrintf() strings (M. Kristall) --- src/game/g_buildable.c | 8 ++++---- src/game/g_cmds.c | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'src/game') diff --git a/src/game/g_buildable.c b/src/game/g_buildable.c index a09ca189..c3b1fb13 100644 --- a/src/game/g_buildable.c +++ b/src/game/g_buildable.c @@ -647,7 +647,7 @@ void ASpawn_Die( gentity_t *self, gentity_t *inflictor, gentity_t *attacker, int BG_FindHumanNameForBuildable( self->s.modelindex ), attacker->client->pers.netname ) ); } - G_LogPrintf( "Decon: %i %i %i: %s^7 destroyed %s by %s\n", + G_LogPrintf( "Decon: %i %i %i: %s destroyed %s by %s\n", attacker->client->ps.clientNum, self->s.modelindex, mod, attacker->client->pers.netname, BG_FindNameForBuildable( self->s.modelindex ), @@ -891,7 +891,7 @@ void ABarricade_Die( gentity_t *self, gentity_t *inflictor, gentity_t *attacker, BG_FindHumanNameForBuildable( self->s.modelindex ), attacker->client->pers.netname ) ); } - G_LogPrintf( "Decon: %i %i %i: %s^7 destroyed %s by %s\n", + G_LogPrintf( "Decon: %i %i %i: %s destroyed %s by %s\n", attacker->client->ps.clientNum, self->s.modelindex, mod, attacker->client->pers.netname, BG_FindNameForBuildable( self->s.modelindex ), @@ -1322,7 +1322,7 @@ void AHovel_Die( gentity_t *self, gentity_t *inflictor, gentity_t *attacker, int BG_FindHumanNameForBuildable( self->s.modelindex ), attacker->client->pers.netname ) ); } - G_LogPrintf( "Decon: %i %i %i: %s^7 destroyed %s by %s\n", + G_LogPrintf( "Decon: %i %i %i: %s destroyed %s by %s\n", attacker->client->ps.clientNum, self->s.modelindex, mod, attacker->client->pers.netname, BG_FindNameForBuildable( self->s.modelindex ), @@ -2286,7 +2286,7 @@ void HSpawn_Die( gentity_t *self, gentity_t *inflictor, gentity_t *attacker, int BG_FindHumanNameForBuildable( self->s.modelindex ), attacker->client->pers.netname ) ); } - G_LogPrintf( "Decon: %i %i %i: %s^7 destroyed %s by %s\n", + G_LogPrintf( "Decon: %i %i %i: %s destroyed %s by %s\n", attacker->client->ps.clientNum, self->s.modelindex, mod, attacker->client->pers.netname, BG_FindNameForBuildable( self->s.modelindex ), diff --git a/src/game/g_cmds.c b/src/game/g_cmds.c index b7ca16d7..7d356e88 100644 --- a/src/game/g_cmds.c +++ b/src/game/g_cmds.c @@ -1781,7 +1781,7 @@ void Cmd_Destroy_f( gentity_t *ent, qboolean deconstruct ) BG_FindHumanNameForBuildable( traceEnt->s.modelindex ), ent->client->pers.netname ) ); - G_LogPrintf( "Decon: %i %i 0: %s^7 deconstructed %s\n", + G_LogPrintf( "Decon: %i %i 0: %s deconstructed %s\n", ent->client->ps.clientNum, traceEnt->s.modelindex, ent->client->pers.netname, @@ -2991,7 +2991,7 @@ void G_PrivateMessage( gentity_t *ent ) ADMP( va( "^%cPrivate message: ^7%s\n", color, msg ) ); ADMP( va( "%s\n", str ) ); - G_LogPrintf( "%s: %s^7: %s^7: %s\n", + G_LogPrintf( "%s: %s: %s: %s\n", ( teamonly ) ? "tprivmsg" : "privmsg", ( ent ) ? ent->client->pers.netname : "console", name, msg ); -- cgit