mirror of
https://github.com/ReactionQuake3/reaction.git
synced 2024-11-11 15:52:30 +00:00
No kicking teammates in TP
This commit is contained in:
parent
440a4a69f5
commit
cfe94c1d40
1 changed files with 10 additions and 0 deletions
|
@ -5,6 +5,9 @@
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
//
|
//
|
||||||
// $Log$
|
// $Log$
|
||||||
|
// Revision 1.36 2002/03/03 02:20:58 jbravo
|
||||||
|
// No kicking teammates in TP
|
||||||
|
//
|
||||||
// Revision 1.35 2002/01/27 14:02:51 jbravo
|
// Revision 1.35 2002/01/27 14:02:51 jbravo
|
||||||
// Make the right effect when rounds hit the new SURF_HARDMETAL surface.
|
// Make the right effect when rounds hit the new SURF_HARDMETAL surface.
|
||||||
//
|
//
|
||||||
|
@ -102,6 +105,13 @@ qboolean JumpKick( gentity_t *ent )
|
||||||
return qfalse;
|
return qfalse;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// JBravo: no kicking teammates while rounds are going
|
||||||
|
if (g_gametype.integer == GT_TEAMPLAY) {
|
||||||
|
if (ent->client->sess.sessionTeam == traceEnt->client->sess.sessionTeam &&
|
||||||
|
level.team_round_going)
|
||||||
|
return qfalse;
|
||||||
|
}
|
||||||
|
|
||||||
if (ent->client->ps.powerups[PW_QUAD] ) {
|
if (ent->client->ps.powerups[PW_QUAD] ) {
|
||||||
G_AddEvent( ent, EV_POWERUP_QUAD, 0 );
|
G_AddEvent( ent, EV_POWERUP_QUAD, 0 );
|
||||||
s_quadFactor = g_quadfactor.value;
|
s_quadFactor = g_quadfactor.value;
|
||||||
|
|
Loading…
Reference in a new issue