From 092a387eaecda769c6e85231de3ad11948d6294e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ricardo=20Lu=C3=ADs=20Vaz=20Silva?= Date: Mon, 16 Dec 2024 17:05:39 -0300 Subject: [PATCH] Fix damage being skipped for spectral puffs --- src/playsim/p_interaction.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/playsim/p_interaction.cpp b/src/playsim/p_interaction.cpp index 0ae77e914c5..60b6f305970 100644 --- a/src/playsim/p_interaction.cpp +++ b/src/playsim/p_interaction.cpp @@ -1158,7 +1158,7 @@ static int DamageMobj (AActor *target, AActor *inflictor, AActor *source, int da // Special damage types if (inflictor) { - if (inflictor->flags4 & MF4_SPECTRAL) + if (inflictor->flags4 & MF4_SPECTRAL && !(inflictor->flags9 & MF9_ISPUFF)) { if (player != NULL) {