- Fixed: Poison damage lost damage type information if the poisoner was destroyed before poisoncount

reached 0.
- Fixed: Poisoners without a PainType should use their own DamageType to pick the Pain state
  to make the target enter, not the target's DamageType.

SVN r3475 (trunk)
This commit is contained in:
Randy Heit 2012-03-23 20:57:10 +00:00
commit 49ea87f8bc
3 changed files with 36 additions and 10 deletions

View file

@ -311,6 +311,8 @@ public:
int damagecount, bonuscount;// for screen flashing
int hazardcount; // for delayed Strife damage
int poisoncount; // screen flash for poison damage
FName poisontype; // type of poison damage to apply
FName poisonpaintype; // type of Pain state to enter for poison damage
TObjPtr<AActor> poisoner; // NULL for non-player actors
TObjPtr<AActor> attacker; // who did damage (NULL for floors)
int extralight; // so gun flashes light up areas