diff options
Diffstat (limited to 'src/cgame/cg_draw.c')
-rw-r--r-- | src/cgame/cg_draw.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cgame/cg_draw.c b/src/cgame/cg_draw.c index 31e619c7..051a091b 100644 --- a/src/cgame/cg_draw.c +++ b/src/cgame/cg_draw.c @@ -2288,7 +2288,8 @@ static void CG_DrawSquadMarkers( vec4_t color ) { cent = cg_entities + cg.snap->entities[ i ].number; if( cent->currentState.eType != ET_PLAYER || - cgs.clientinfo[ i ].team != cg.snap->ps.stats[ STAT_PTEAM ] || + cgs.clientinfo[ cg.snap->entities[ i ].number ].team != + cg.snap->ps.stats[ STAT_PTEAM ] || !cent->pe.squadMarked ) continue; |