Reduce blood effect spam on flak cannon chunks.

This commit is contained in:
Marisa the Magician 2019-09-28 20:56:31 +02:00
commit 9e537f6159

View file

@ -351,8 +351,8 @@ Class FlakChunk : Actor
// pass through if it's already dead // pass through if it's already dead
if ( victim.health-amt <= 0 ) if ( victim.health-amt <= 0 )
{ {
// bleed // bleed if not gibbed (reduces effect spam)
if ( !victim.bNOBLOOD ) if ( !victim.bNOBLOOD && (victim.health-amt > victim.GetGibHealth()) )
{ {
victim.SpawnBlood(pos,AngleTo(victim),damage); victim.SpawnBlood(pos,AngleTo(victim),damage);
A_PlaySound("flak/meat",volume:0.3); A_PlaySound("flak/meat",volume:0.3);