diff --git a/reaction/game/g_weapon.c b/reaction/game/g_weapon.c index c4e48329..3e747043 100644 --- a/reaction/game/g_weapon.c +++ b/reaction/game/g_weapon.c @@ -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 &&