mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-24 21:21:04 +00:00
- call TakeSpecialDamage, even if damage is 0, just like it was in older versions.
This commit is contained in:
parent
5d27bf7742
commit
66c3c93529
1 changed files with 1 additions and 2 deletions
|
@ -1129,7 +1129,6 @@ int P_DamageMobj (AActor *target, AActor *inflictor, AActor *source, int damage,
|
|||
return -1;
|
||||
}
|
||||
}
|
||||
if (damage > 0)
|
||||
damage = target->TakeSpecialDamage (inflictor, source, damage, mod);
|
||||
}
|
||||
if (damage == -1 && target->player == NULL) //Make sure it's not a player, the pain has yet to be processed with cheats.
|
||||
|
|
Loading…
Reference in a new issue