*If my target is attacking me, my target is acceptable.

--HG--
branch : trunk
This commit is contained in:
maximius
2009-10-13 22:05:40 -07:00
parent 32d3907576
commit 832159de12

View File

@@ -2189,7 +2189,7 @@ bool Creature::_IsTargetAcceptable(const Unit *target) const
const Unit *myVictim = getAttackerForHelper();
// if I'm already fighting target, the target is acceptable
if (myVictim == target)
if (myVictim == target || target->getVictim() == this)
return true;
// if I'm hostile towards the target, the target is acceptable