summaryrefslogtreecommitdiff
path: root/src/cgame/cg_players.c
diff options
context:
space:
mode:
authorPaweł Redman <pawel.redman@gmail.com>2015-06-26 03:19:59 +0200
committerPaweł Redman <pawel.redman@gmail.com>2015-06-26 03:23:19 +0200
commit1895729b01532be9589d3606c331cc8f9ca9a9e3 (patch)
tree243b3526ea535df824d38fd1a3a4b841e1f63c4a /src/cgame/cg_players.c
parent7a9d256ea39e7ed8797801f8184e6ab7f27a21dc (diff)
More bug fixes for Wraith.
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;
}