- Added ICESHATTER flag.

- Any inflictor with this flag can break ice corpses
This commit is contained in:
MajorCooke 2015-10-11 09:10:33 -05:00
commit 380b5c1eb7
3 changed files with 4 additions and 5 deletions

View file

@ -970,7 +970,7 @@ int P_DamageMobj (AActor *target, AActor *inflictor, AActor *source, int damage,
}
if (target->health <= 0)
{
if (inflictor && mod == NAME_Ice)
if (inflictor && mod == NAME_Ice && !(inflictor->flags7 & MF7_ICESHATTER))
{
return -1;
}