- call TakeSpecialDamage, even if damage is 0, just like it was in older versions.

This commit is contained in:
Christoph Oelckers 2015-03-27 09:03:44 +01:00
parent 5d27bf7742
commit 66c3c93529

View file

@ -1129,7 +1129,6 @@ int P_DamageMobj (AActor *target, AActor *inflictor, AActor *source, int damage,
return -1; return -1;
} }
} }
if (damage > 0)
damage = target->TakeSpecialDamage (inflictor, source, damage, mod); 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. if (damage == -1 && target->player == NULL) //Make sure it's not a player, the pain has yet to be processed with cheats.