mirror of
https://github.com/ZDoom/gzdoom.git
synced 2025-01-30 21:30:58 +00:00
Fix damage being skipped for spectral puffs
This commit is contained in:
parent
2a940a7418
commit
b37b95aa04
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue