habdful of little simplifications.

This commit is contained in:
David Carlier 2022-02-27 09:03:06 +00:00
parent 7464cb7ae5
commit 12509f6242
3 changed files with 5 additions and 14 deletions

View file

@ -1647,10 +1647,7 @@ commander_body_die(edict_t *self, edict_t *inflictor /* unused */,
{
gi.sound(self, CHAN_BODY, gi.soundindex("tank/pain.wav"), 1, ATTN_NORM, 0);
for (n = 0; n < 1; n++)
{
ThrowGib(self, "models/objects/gibs/sm_meat/tris.md2", damage, GIB_ORGANIC);
}
for (n = 0; n < 4; n++)
{

View file

@ -902,11 +902,8 @@ makron_die(edict_t *self, edict_t *inflictor /* unused */, edict_t *attacker /*
{
gi.sound(self, CHAN_VOICE, gi.soundindex( "misc/udeath.wav"), 1, ATTN_NORM, 0);
for (n = 0; n < 1; n++)
{
ThrowGib(self, "models/objects/gibs/sm_meat/tris.md2",
damage, GIB_ORGANIC);
}
for (n = 0; n < 4; n++)
{

View file

@ -1031,11 +1031,8 @@ tank_die(edict_t *self, edict_t *inflictor /* unused */,
{
gi.sound(self, CHAN_VOICE, gi.soundindex("misc/udeath.wav"), 1, ATTN_NORM, 0);
for (n = 0; n < 1; n++)
{
ThrowGib(self, "models/objects/gibs/sm_meat/tris.md2",
damage, GIB_ORGANIC);
}
for (n = 0; n < 4; n++)
{