*Fix a bug that pet/charmed cannot AOE neutral creatures.

--HG--
branch : trunk
This commit is contained in:
megamage
2009-04-19 19:45:54 -05:00
parent e1806419be
commit 68fd41d2c8
9 changed files with 61 additions and 31 deletions
+1 -1
View File
@@ -671,7 +671,7 @@ namespace Trinity
continue;
if(!target->isAttackableByAOE())
continue;
if(i_source->GetTypeId()==TYPEID_PLAYER)
if(i_source->IsControlledByPlayer())
{
if(i_source->IsFriendlyTo(target))
continue;