[quake3-commits] r2125 - trunk/code/game

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Tue Aug 2 16:04:18 EDT 2011


Author: thilo
Date: 2011-08-02 16:04:18 -0400 (Tue, 02 Aug 2011)
New Revision: 2125

Modified:
   trunk/code/game/g_weapon.c
Log:
Fix crash bug introduced in r2116. traceEnt does not always have to be a client, so gauntlet attacking something that is not a client will crash the game. Thanks to Ensiform for reporting


Modified: trunk/code/game/g_weapon.c
===================================================================
--- trunk/code/game/g_weapon.c	2011-08-02 01:25:58 UTC (rev 2124)
+++ trunk/code/game/g_weapon.c	2011-08-02 20:04:18 UTC (rev 2125)
@@ -91,9 +91,6 @@
 
 	traceEnt = &g_entities[ tr.entityNum ];
 
-	if ( traceEnt->client->noclip ) {
-		return qfalse;
-	}
 	// send blood impact
 	if ( traceEnt->takedamage && traceEnt->client ) {
 		tent = G_TempEntity( tr.endpos, EV_MISSILE_HIT );



More information about the quake3-commits mailing list