From 9473e229f17cfeb422f50db2f0e4580fabb40e38 Mon Sep 17 00:00:00 2001 From: Randy Heit Date: Sat, 26 May 2012 01:03:39 +0000 Subject: [PATCH] - Fix tiny error in A_WolfAttack, courtesy of Gez. SVN r3666 (trunk) --- src/thingdef/thingdef_codeptr.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/thingdef/thingdef_codeptr.cpp b/src/thingdef/thingdef_codeptr.cpp index 4d31f869a3..ee09be238e 100644 --- a/src/thingdef/thingdef_codeptr.cpp +++ b/src/thingdef/thingdef_codeptr.cpp @@ -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); } }