- Fix tiny error in A_WolfAttack, courtesy of Gez.

SVN r3666 (trunk)
This commit is contained in:
Randy Heit 2012-05-26 01:03:39 +00:00
parent 23acb77030
commit 9473e229f1
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}
}