diff options
author | Paweł Redman <pawel.redman@gmail.com> | 2015-12-05 23:34:33 +0100 |
---|---|---|
committer | Paweł Redman <pawel.redman@gmail.com> | 2015-12-05 23:34:33 +0100 |
commit | 6c79e8bb722b20241fa9eab063dfefa73870a740 (patch) | |
tree | 94cd5c896d1d2085115b0c157a0388f34d247421 | |
parent | f99fa9618d12882298de857722a22d1e63f3e583 (diff) |
-rw-r--r-- | src/cgame/cg_servercmds.c | 4 | ||||
-rw-r--r-- | src/game/g_admin.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/cgame/cg_servercmds.c b/src/cgame/cg_servercmds.c index e59cf8a..94c4591 100644 --- a/src/cgame/cg_servercmds.c +++ b/src/cgame/cg_servercmds.c @@ -1021,10 +1021,10 @@ static void CG_Say( int clientNum, saymode_t mode, const char *text ) break; case SAY_ADMINS: case SAY_ADMINS_PUBLIC: - CG_Printf( "%s%s%s" S_COLOR_WHITE "%s %c" S_COLOR_MAGENTA "%s\n", + CG_Printf( "%s%s%s" S_COLOR_WHITE "%s " S_COLOR_MAGENTA "%s\n", prefix, ( mode == SAY_ADMINS ) ? "[ADMIN]" : "[PLAYER]", - name, maybeColon, INDENT_MARKER, text ); + name, maybeColon, text ); break; case SAY_AREA: CG_Printf( "%s<%s" S_COLOR_WHITE ">%s%s " S_COLOR_BLUE "%s\n", diff --git a/src/game/g_admin.c b/src/game/g_admin.c index bee9294..32a8db8 100644 --- a/src/game/g_admin.c +++ b/src/game/g_admin.c @@ -2483,14 +2483,14 @@ qboolean cp_broadcast( gentity_t *ent, qboolean cp ) { if( !admin ) trap_SendServerCommand( i, va( "cp \"^%s%s\"", ( team < 0 ) ? "2" : "5", message ) ); - trap_SendServerCommand( i, va( "print \"%s^3CPA: ^7%s%s^7%s%s%s: %c%s\n\"", + trap_SendServerCommand( i, va( "print \"%s^3CPA: ^7%s%s^7%s%s%s: %s\n\"", ( admin ) ? "[ADMIN] " : "", ( team >= 0 ) ? "(" : "", admin_name( ent ), ( team >= 0 ) ? ")" : "", ( admin ) ? " to " : "", ( admin ) ? BG_TeamName( team ) : "", - INDENT_MARKER, + message ) ); } else if( !admin ) |