mirror of
https://github.com/ReactionQuake3/reaction.git
synced 2024-11-11 15:52:30 +00:00
Yet another crashbug fixed.
This commit is contained in:
parent
23f02bf740
commit
c93a3fcc1f
1 changed files with 7 additions and 0 deletions
|
@ -5,6 +5,9 @@
|
|||
//-----------------------------------------------------------------------------
|
||||
//
|
||||
// $Log$
|
||||
// Revision 1.44 2002/04/07 19:23:41 jbravo
|
||||
// Yet another crashbug fixed.
|
||||
//
|
||||
// Revision 1.43 2002/04/06 21:42:20 makro
|
||||
// Changes to bot code. New surfaceparm system.
|
||||
//
|
||||
|
@ -135,6 +138,10 @@ qboolean JumpKick( gentity_t *ent )
|
|||
return qfalse;
|
||||
}
|
||||
|
||||
// JBravo: some sanity checks on the traceEnt
|
||||
if (traceEnt == NULL || traceEnt->client == NULL)
|
||||
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 &&
|
||||
|
|
Loading…
Reference in a new issue