Fixed arch-vile bleeding when damaging target

https://forum.zdoom.org/viewtopic.php?t=58220
This commit is contained in:
alexey.lysiuk 2017-10-21 11:37:43 +03:00
parent 724d711d1f
commit 88deddbc3b

View file

@ -136,7 +136,7 @@ extend class Actor
A_PlaySound(snd, CHAN_WEAPON); A_PlaySound(snd, CHAN_WEAPON);
int newdam = targ.DamageMobj (self, self, initialdmg, (flags & VAF_DMGTYPEAPPLYTODIRECT)? damagetype : 'none'); int newdam = targ.DamageMobj (self, self, initialdmg, (flags & VAF_DMGTYPEAPPLYTODIRECT)? damagetype : 'none');
TraceBleed (newdam > 0 ? newdam : initialdmg, targ); targ.TraceBleed (newdam > 0 ? newdam : initialdmg, self);
Actor fire = tracer; Actor fire = tracer;
if (fire) if (fire)