diff options
Diffstat (limited to 'src/cgame/cg_players.c')
-rw-r--r-- | src/cgame/cg_players.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/cgame/cg_players.c b/src/cgame/cg_players.c index f7042456..1cce4788 100644 --- a/src/cgame/cg_players.c +++ b/src/cgame/cg_players.c @@ -1972,6 +1972,10 @@ void CG_Player( centity_t *cent ) if( !ci->infoValid ) return; + //don't draw + if( es->eFlags & EF_NODRAW ) + return; + // get the player model information renderfx = 0; if( es->number == cg.snap->ps.clientNum ) |