mirror of
https://github.com/ZDoom/gzdoom.git
synced 2025-01-18 07:32:28 +00:00
Fix damage being skipped for spectral puffs
This commit is contained in:
parent
5b38eb5fc5
commit
d61ec1722a
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