diff options
author | megamage <none@none> | 2009-08-19 16:57:53 -0500 |
---|---|---|
committer | megamage <none@none> | 2009-08-19 16:57:53 -0500 |
commit | a55c618af648f64c395da1a8bda0da38e2d4e871 (patch) | |
tree | 0824d0fed58bd9040d5770036217d0b000311b22 /src/game/MiscHandler.cpp | |
parent | a7e297434a9c6d08d002bd08deef44203bea693e (diff) |
[8385] Use 3D coordinates for checking corpse distance at reclaiming Author: arrai
--HG--
branch : trunk
Diffstat (limited to 'src/game/MiscHandler.cpp')
-rw-r--r-- | src/game/MiscHandler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/MiscHandler.cpp b/src/game/MiscHandler.cpp index 543bf7d90be..053efc299d8 100644 --- a/src/game/MiscHandler.cpp +++ b/src/game/MiscHandler.cpp @@ -735,7 +735,7 @@ void WorldSession::HandleReclaimCorpseOpcode(WorldPacket &recv_data) if(corpse->GetGhostTime() + GetPlayer()->GetCorpseReclaimDelay(corpse->GetType()==CORPSE_RESURRECTABLE_PVP) > time(NULL)) return; - if (!corpse->IsWithinDist(GetPlayer(),CORPSE_RECLAIM_RADIUS,false)) + if (!corpse->IsWithinDist(GetPlayer(), CORPSE_RECLAIM_RADIUS, true)) return; uint64 guid; |