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
parent 5b38eb5fc5
commit d61ec1722a

View file

@ -1158,7 +1158,7 @@ static int DamageMobj (AActor *target, AActor *inflictor, AActor *source, int da
// Special damage types // Special damage types
if (inflictor) if (inflictor)
{ {
if (inflictor->flags4 & MF4_SPECTRAL) if (inflictor->flags4 & MF4_SPECTRAL && !(inflictor->flags9 & MF9_ISPUFF))
{ {
if (player != NULL) if (player != NULL)
{ {