mirror of
https://github.com/ReactionQuake3/reaction.git
synced 2024-11-11 07:42:15 +00:00
no more enemy bubbles
This commit is contained in:
parent
886581f3ca
commit
006c1d88e1
1 changed files with 10 additions and 0 deletions
|
@ -5,6 +5,9 @@
|
|||
//-----------------------------------------------------------------------------
|
||||
//
|
||||
// $Log$
|
||||
// Revision 1.38 2002/06/29 21:58:14 niceass
|
||||
// no more enemy bubbles
|
||||
//
|
||||
// Revision 1.37 2002/06/25 06:11:36 niceass
|
||||
// flag positioning enhancement! (F.P.E.)
|
||||
//
|
||||
|
@ -2148,6 +2151,13 @@ static void CG_PlayerFloatSprite(centity_t * cent, qhandle_t shader)
|
|||
int rf;
|
||||
refEntity_t ent;
|
||||
|
||||
// NiceAss: Don't draw floating sprites for enemies in TP
|
||||
if ( cgs.gametype >= GT_TEAM &&
|
||||
cgs.clientinfo[cent->currentState.clientNum].team != cg.snap->ps.persistant[PERS_SAVEDTEAM] &&
|
||||
( cg.snap->ps.persistant[PERS_SAVEDTEAM] == TEAM_RED ||
|
||||
cg.snap->ps.persistant[PERS_SAVEDTEAM] == TEAM_BLUE ) )
|
||||
return;
|
||||
|
||||
if (cent->currentState.number == cg.snap->ps.clientNum && !cg.renderingThirdPerson) {
|
||||
rf = RF_THIRD_PERSON; // only show in mirrors
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue