Fix damage being skipped for spectral puffs

This commit is contained in:
Ricardo Luís Vaz Silva 2024-12-16 17:05:39 -03:00 committed by Rachael Alexanderson
parent 2a940a7418
commit b37b95aa04
No known key found for this signature in database
GPG key ID: 26A8ACCE97115EE0

View file

@ -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)
{