mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-12-11 21:21:45 +00:00
- DoSpecialDamage was formerly called for any damage value, removed check for 'damage > 0' to restore original behavior.
This commit is contained in:
parent
375c0ac736
commit
c78b9235a8
1 changed files with 1 additions and 2 deletions
|
@ -1065,7 +1065,6 @@ int P_DamageMobj (AActor *target, AActor *inflictor, AActor *source, int damage,
|
|||
return -1;
|
||||
}
|
||||
}
|
||||
if (damage > 0)
|
||||
damage = inflictor->DoSpecialDamage (target, damage, mod);
|
||||
|
||||
if ((damage == -1) && (target->player == NULL)) //This isn't meant for the player.
|
||||
|
|
Loading…
Reference in a new issue