mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-28 23:11:58 +00:00
Fixed arch-vile bleeding when damaging target
https://forum.zdoom.org/viewtopic.php?t=58220
This commit is contained in:
parent
724d711d1f
commit
88deddbc3b
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue