Merge pull request #796 from devnexen/few_simpl

habdful of little simplifications.
This commit is contained in:
Yamagi 2022-03-12 17:10:35 +01:00 committed by GitHub
commit 3a528e608d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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++)
{