Skip to content
Permalink
Browse files

game: explode missile sound when out of limit

  • Loading branch information...
Aranud committed Aug 7, 2019
1 parent 9898c3a commit 5af0aa950bc9a6b05a44687d72f1d8112cd0adff
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/game/g_missile.c
@@ -487,7 +487,7 @@ void G_RunMissile(gentity_t *ent)
tent->r.svFlags |= SVF_BROADCAST;
tent->s.density = 1; // angular

G_FreeEntity(ent);
G_RealExplodedMissile(ent, tv(0, 0, 1), qfalse);
return; // delete it and play explode sound
}
else
@@ -506,7 +506,7 @@ void G_RunMissile(gentity_t *ent)
tent->r.svFlags |= SVF_BROADCAST;
tent->s.density = 0; // direct

G_FreeEntity(ent);
G_RealExplodedMissile(ent, tv(0, 0, 1), qfalse);
return; // delete it and play explode sound
}

0 comments on commit 5af0aa9

Please sign in to comment.
You can’t perform that action at this time.