mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-11 07:12:02 +00:00
- Fix tiny error in A_WolfAttack, courtesy of Gez.
SVN r3666 (trunk)
This commit is contained in:
parent
23acb77030
commit
9473e229f1
1 changed files with 1 additions and 1 deletions
|
@ -4015,7 +4015,7 @@ DEFINE_ACTION_FUNCTION_PARAMS(AActor, A_WolfAttack)
|
|||
P_DamageMobj(self->target, self, self, damage, mod, DMG_THRUSTLESS);
|
||||
if (spawnblood)
|
||||
{
|
||||
P_SpawnBlood(dx, dy, dz, angle, damage, self);
|
||||
P_SpawnBlood(dx, dy, dz, angle, damage, self->target);
|
||||
P_TraceBleed(damage, self->target, R_PointToAngle2(self->x, self->y, dx, dy), 0);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue