summaryrefslogtreecommitdiff
path: root/src/cgame/cg_players.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cgame/cg_players.c')
-rw-r--r--src/cgame/cg_players.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cgame/cg_players.c b/src/cgame/cg_players.c
index 8da8757..c3afab3 100644
--- a/src/cgame/cg_players.c
+++ b/src/cgame/cg_players.c
@@ -1898,8 +1898,8 @@ void CG_Player( centity_t *cent )
return;
if( ( es->eFlags & EF_WARPING ) &&
- ( cgs.clientinfo[ es->number ].team != cg.snap->ps.stats[ STAT_TEAM ] ||
- cg.snap->ps.stats[ STAT_TEAM ] == TEAM_NONE ) )
+ ( cgs.clientinfo[ es->number ].team != cg.snap->ps.stats[ STAT_TEAM ] &&
+ cg.snap->ps.stats[ STAT_TEAM ] != TEAM_NONE ) )
{
return;
}