Reduce blood effect spam on flak cannon chunks.
This commit is contained in:
parent
fb96c7523e
commit
9e537f6159
1 changed files with 2 additions and 2 deletions
|
|
@ -351,8 +351,8 @@ Class FlakChunk : Actor
|
|||
// pass through if it's already dead
|
||||
if ( victim.health-amt <= 0 )
|
||||
{
|
||||
// bleed
|
||||
if ( !victim.bNOBLOOD )
|
||||
// bleed if not gibbed (reduces effect spam)
|
||||
if ( !victim.bNOBLOOD && (victim.health-amt > victim.GetGibHealth()) )
|
||||
{
|
||||
victim.SpawnBlood(pos,AngleTo(victim),damage);
|
||||
A_PlaySound("flak/meat",volume:0.3);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue