mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2024-11-30 00:10:53 +00:00
Merge pull request #796 from devnexen/few_simpl
habdful of little simplifications.
This commit is contained in:
commit
3a528e608d
3 changed files with 5 additions and 14 deletions
|
@ -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);
|
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);
|
||||||
{
|
|
||||||
ThrowGib(self, "models/objects/gibs/sm_meat/tris.md2", damage, GIB_ORGANIC);
|
|
||||||
}
|
|
||||||
|
|
||||||
for (n = 0; n < 4; n++)
|
for (n = 0; n < 4; n++)
|
||||||
{
|
{
|
||||||
|
|
|
@ -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);
|
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);
|
||||||
ThrowGib(self, "models/objects/gibs/sm_meat/tris.md2",
|
|
||||||
damage, GIB_ORGANIC);
|
|
||||||
}
|
|
||||||
|
|
||||||
for (n = 0; n < 4; n++)
|
for (n = 0; n < 4; n++)
|
||||||
{
|
{
|
||||||
|
|
|
@ -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);
|
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);
|
||||||
ThrowGib(self, "models/objects/gibs/sm_meat/tris.md2",
|
|
||||||
damage, GIB_ORGANIC);
|
|
||||||
}
|
|
||||||
|
|
||||||
for (n = 0; n < 4; n++)
|
for (n = 0; n < 4; n++)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue