*Fix a bug that pet/charmed cannot AOE neutral creatures.
--HG-- branch : trunk
This commit is contained in:
+1
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user