From 832159de12964f450d535130856ce213631b5872 Mon Sep 17 00:00:00 2001 From: maximius Date: Tue, 13 Oct 2009 22:05:40 -0700 Subject: *If my target is attacking me, my target is acceptable. --HG-- branch : trunk --- src/game/Creature.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/game/Creature.cpp') diff --git a/src/game/Creature.cpp b/src/game/Creature.cpp index 3489260eb84..a3a2e5c1690 100644 --- a/src/game/Creature.cpp +++ b/src/game/Creature.cpp @@ -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 -- cgit v1.2.3