summaryrefslogtreecommitdiff
path: root/src/game/g_missile.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/g_missile.c')
-rw-r--r--src/game/g_missile.c16
1 files changed, 2 insertions, 14 deletions
diff --git a/src/game/g_missile.c b/src/game/g_missile.c
index 43cc9ec9..458b6d3f 100644
--- a/src/game/g_missile.c
+++ b/src/game/g_missile.c
@@ -126,18 +126,7 @@ void G_MissileImpact( gentity_t *ent, trace_t *trace )
return;
}
- if( !strcmp( ent->classname, "grenade" ) )
- {
- //grenade doesn't explode on impact
- G_BounceMissile( ent, trace );
-
- //only play a sound if requested
- if( !( ent->s.eFlags & EF_NO_BOUNCE_SOUND ) )
- G_AddEvent( ent, EV_GRENADE_BOUNCE, 0 );
-
- return;
- }
- else if( !strcmp( ent->classname, "lockblob" ) )
+ if( !strcmp( ent->classname, "lockblob" ) )
{
if( other->client && other->client->ps.stats[ STAT_TEAM ] == TEAM_HUMANS )
{
@@ -268,8 +257,7 @@ void G_RunMissile( gentity_t *ent )
if( tr.fraction < 1.0f )
{
- if( !ent->pointAgainstWorld || tr.contents & CONTENTS_BODY ||
- ( tr.entityNum >= 0 && tr.entityNum != ENTITYNUM_WORLD ) )
+ if( !ent->pointAgainstWorld || tr.contents & CONTENTS_BODY )
{
// We hit an entity or we don't care
impact = qtrue;