Fix Auto XTargets not clearing on death

This commit is contained in:
j883376
2013-05-05 06:47:53 -04:00
parent e1c2657b11
commit e2fd78b510
3 changed files with 18 additions and 0 deletions
+1
View File
@@ -1486,6 +1486,7 @@ void Client::Death(Mob* killerMob, int32 damage, uint16 spell, SkillType attack_
entity_list.RemoveFromTargets(this);
hate_list.RemoveEnt(this);
RemoveAutoXTargets();
//remove ourself from all proximities