[8385] Use 3D coordinates for checking corpse distance at reclaiming Author: arrai
--HG-- branch : trunk
This commit is contained in:
1 parent
a7e297434a
commit
a55c618af6
1 file changed
+1
-1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user