From 98438cc3e7d32312bb52b413c12698b67b8cfeb0 Mon Sep 17 00:00:00 2001 From: Christopher Schwarz Date: Tue, 19 Apr 2011 07:31:20 +0000 Subject: * Allow display of weapon/class/upgrade icons on scoreboard when using noclip while spectating (thanks Teapot) --- src/cgame/cg_main.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/cgame/cg_main.c b/src/cgame/cg_main.c index 70d875e8..e3a6a0c6 100644 --- a/src/cgame/cg_main.c +++ b/src/cgame/cg_main.c @@ -1466,9 +1466,14 @@ static const char *CG_FeederItemText( int feederID, int index, int column, qhand if( cg.intermissionStarted && CG_ClientIsReady( sp->client ) ) showIcons = qfalse; - else if( cg.snap->ps.pm_type == PM_SPECTATOR || cg.snap->ps.pm_flags & PMF_FOLLOW || - team == cg.snap->ps.stats[ STAT_TEAM ] || cg.intermissionStarted ) + else if( cg.snap->ps.pm_type == PM_SPECTATOR || + cg.snap->ps.pm_type == PM_NOCLIP || + cg.snap->ps.pm_flags & PMF_FOLLOW || + team == cg.snap->ps.stats[ STAT_TEAM ] || + cg.intermissionStarted ) + { showIcons = qtrue; + } if( info && info->infoValid ) { -- cgit