From 314e89b84fe42c5dadce18a8833d3a03091115f6 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Tue, 16 Aug 2016 10:53:30 +0200 Subject: [PATCH] - fixed what looks like a copy/paste error in A_Explode. --- src/thingdef/thingdef_codeptr.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/thingdef/thingdef_codeptr.cpp b/src/thingdef/thingdef_codeptr.cpp index 888e8db8e..6c8b22301 100644 --- a/src/thingdef/thingdef_codeptr.cpp +++ b/src/thingdef/thingdef_codeptr.cpp @@ -1416,13 +1416,12 @@ DEFINE_ACTION_FUNCTION_PARAMS(AActor, A_Explode) } } - int count = P_RadiusAttack (self, self->target, damage, distance, self->DamageType, flags, fulldmgdistance); if (!(flags & XF_NOACTORTYPE) && damagetype == NAME_None) { damagetype = self->DamageType; } - P_RadiusAttack (self, self->target, damage, distance, damagetype, flags, fulldmgdistance); + int count = P_RadiusAttack (self, self->target, damage, distance, damagetype, flags, fulldmgdistance); P_CheckSplash(self, distance); if (alert && self->target != NULL && self->target->player != NULL) {