Skip to content

Commit

Permalink
Fix damage being skipped for spectral puffs
Browse files Browse the repository at this point in the history
  • Loading branch information
RicardoLuis0 committed Dec 16, 2024
1 parent 5b38eb5 commit 092a387
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/playsim/p_interaction.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit 092a387

Please sign in to comment.