[8385] Use 3D coordinates for checking corpse distance at reclaiming Author: arrai

--HG--
branch : trunk
This commit is contained in:
megamage
2009-08-19 16:57:53 -05:00
parent a7e297434a
commit a55c618af6

View File

@@ -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;