mirror of
https://github.com/UberGames/ioef.git
synced 2024-11-27 06:22:22 +00:00
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
This commit is contained in:
parent
020bd8772f
commit
86a7cd3dea
1 changed files with 0 additions and 3 deletions
|
@ -91,9 +91,6 @@ qboolean CheckGauntletAttack( gentity_t *ent ) {
|
|||
|
||||
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 );
|
||||
|
|
Loading…
Reference in a new issue