*Let pet attack target not in LOS.
--HG-- branch : trunk
This commit is contained in:
1 parent
2823ce5858
commit
2e37eac4c5
1 file changed
+2
-2
@@ -115,8 +115,8 @@ void WorldSession::HandlePetAction( WorldPacket & recv_data )
|
||||
if(GetPlayer()->IsFriendlyTo(TargetUnit))
|
||||
return;
|
||||
// Not let attack through obstructions
|
||||
if(!pet->IsWithinLOSInMap(TargetUnit))
|
||||
return;
|
||||
//if(!pet->IsWithinLOSInMap(TargetUnit))
|
||||
// return;
|
||||
|
||||
if(pet->GetTypeId() != TYPEID_PLAYER)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user