diff options
author | megamage <none@none> | 2008-12-06 20:05:00 -0600 |
---|---|---|
committer | megamage <none@none> | 2008-12-06 20:05:00 -0600 |
commit | 2e37eac4c57cb0c133db82071f763f5186692076 (patch) | |
tree | 5b592667d5f4ec53d152ef3ee657d59db0aed8fa /src | |
parent | 2823ce5858ce088dd7f8aa49217f5d1b4eb80d96 (diff) |
*Let pet attack target not in LOS.
--HG--
branch : trunk
Diffstat (limited to 'src')
-rw-r--r-- | src/game/PetHandler.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/PetHandler.cpp b/src/game/PetHandler.cpp index 7950db27464..3f8468e3ebc 100644 --- a/src/game/PetHandler.cpp +++ b/src/game/PetHandler.cpp @@ -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) { |