- Make APoisonCloud::DoSpecialDamage() and P_PoisonDamage() respect damage factors.

- Pass the damage type to AActor::DoSpecialDamage().

SVN r3717 (trunk)
This commit is contained in:
Randy Heit 2012-06-29 04:21:31 +00:00
commit e1641da881
16 changed files with 61 additions and 42 deletions

View file

@ -535,7 +535,7 @@ bool P_MorphedDeath(AActor *actor, AActor **morphed, int *morphedstyle, int *mor
IMPLEMENT_CLASS(AMorphProjectile)
int AMorphProjectile::DoSpecialDamage (AActor *target, int damage)
int AMorphProjectile::DoSpecialDamage (AActor *target, int damage, FName damagetype)
{
const PClass *morph_flash = PClass::FindClass (MorphFlash);
const PClass *unmorph_flash = PClass::FindClass (UnMorphFlash);