From c78b9235a87335d59f58094e124056e67d0a815a Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Fri, 27 Mar 2015 11:50:27 +0100 Subject: [PATCH] - DoSpecialDamage was formerly called for any damage value, removed check for 'damage > 0' to restore original behavior. --- src/p_interaction.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/p_interaction.cpp b/src/p_interaction.cpp index 74278153d..6e5fc3776 100644 --- a/src/p_interaction.cpp +++ b/src/p_interaction.cpp @@ -1065,8 +1065,7 @@ int P_DamageMobj (AActor *target, AActor *inflictor, AActor *source, int damage, return -1; } } - if (damage > 0) - damage = inflictor->DoSpecialDamage (target, damage, mod); + damage = inflictor->DoSpecialDamage (target, damage, mod); if ((damage == -1) && (target->player == NULL)) //This isn't meant for the player. {