Skip to content

Commit

Permalink
Merge pull request #28 from TrayHard/uncomment-chatlogs
Browse files Browse the repository at this point in the history
Uncomment chatlogs
  • Loading branch information
videoP authored Jun 12, 2023
2 parents 4ce772a + 376f7f1 commit 7c29e7d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions codemp/game/g_cmds.c
Original file line number Diff line number Diff line change
Expand Up @@ -2221,12 +2221,12 @@ void G_Say( gentity_t *ent, gentity_t *target, int mode, const char *chatText )
switch ( mode ) {
default:
case SAY_ALL:
//G_LogPrintf( "say: %s: %s\n", ent->client->pers.netname, text ); // --kinda useless since logs already get the normal chatlogs?
G_LogPrintf( "say: %s: %s\n", ent->client->pers.netname, text ); // --kinda useless since logs already get the normal chatlogs?
Com_sprintf (name, sizeof(name), "%s%c%c"EC": ", ent->client->pers.netname, Q_COLOR_ESCAPE, COLOR_WHITE );
color = COLOR_GREEN;
break;
case SAY_TEAM:
//G_LogPrintf( "sayteam: %s: %s\n", ent->client->pers.netname, text );
G_LogPrintf( "sayteam: %s: %s\n", ent->client->pers.netname, text );
if (Team_GetLocationMsg(ent, location, sizeof(location)))
{
Com_sprintf (name, sizeof(name), EC"(%s%c%c"EC")"EC": ",
Expand Down Expand Up @@ -2255,7 +2255,7 @@ void G_Say( gentity_t *ent, gentity_t *target, int mode, const char *chatText )
color = COLOR_MAGENTA;
break;
case SAY_CLAN:
//G_LogPrintf( "sayclan: %s: %s\n", ent->client->pers.netname, chatText );
G_LogPrintf( "sayclan: %s: %s\n", ent->client->pers.netname, chatText );
if (Team_GetLocationMsg(ent, location, sizeof(location)))
{
Com_sprintf (name, sizeof(name), EC"^1<Clan>^7(%s%c%c"EC")"EC": ",
Expand All @@ -2270,7 +2270,7 @@ void G_Say( gentity_t *ent, gentity_t *target, int mode, const char *chatText )
color = COLOR_RED;
break;
case SAY_ADMIN:
//G_LogPrintf( "sayadmin: %s: %s\n", ent->client->pers.netname, chatText );
G_LogPrintf( "sayadmin: %s: %s\n", ent->client->pers.netname, chatText );
if (Team_GetLocationMsg(ent, location, sizeof(location)))
{
Com_sprintf (name, sizeof(name), EC"^3<Admin>^7(%s%c%c"EC")"EC": ",
Expand Down

0 comments on commit 7c29e7d

Please sign in to comment.