From 4644c1e65a337db1a94208162465908e1e56a0d6 Mon Sep 17 00:00:00 2001 From: Christopher Schwarz Date: Wed, 21 Oct 2009 23:16:46 +0000 Subject: * Don't show locations in teamchats during intermission * Fix /destroy (devmap only) to work on marked buildables without having to use it twice --- src/cgame/cg_servercmds.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/cgame') diff --git a/src/cgame/cg_servercmds.c b/src/cgame/cg_servercmds.c index 0b562360..9af97006 100644 --- a/src/cgame/cg_servercmds.c +++ b/src/cgame/cg_servercmds.c @@ -940,7 +940,8 @@ static void CG_Say( int clientNum, saymode_t mode, const char *text ) Com_sprintf( prefix, sizeof( prefix ), "[^%c%c" S_COLOR_WHITE "] " S_COLOR_WHITE, tcolor, toupper( *( BG_TeamName( ci->team ) ) ) ); - if( ci && ( mode == SAY_TEAM || mode == SAY_AREA ) ) + if( ci && ( mode == SAY_TEAM || mode == SAY_AREA ) + && cg.snap->ps.pm_type != PM_INTERMISSION ) { if( clientNum == cg.snap->ps.clientNum ) { -- cgit