diff --git a/src/thingdef/thingdef_codeptr.cpp b/src/thingdef/thingdef_codeptr.cpp index e1d9f230d..f592fd75a 100644 --- a/src/thingdef/thingdef_codeptr.cpp +++ b/src/thingdef/thingdef_codeptr.cpp @@ -868,10 +868,8 @@ DEFINE_ACTION_FUNCTION_PARAMS(AActor, A_Explode) flags = !self->GetClass()->DontHurtShooter; alert = false; } - else - { - if (distance <= 0) distance = damage; - } + if (distance <= 0) distance = damage; + // NailBomb effect, from SMMU but not from its source code: instead it was implemented and // generalized from the documentation at http://www.doomworld.com/eternity/engine/codeptrs.html