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

This commit is contained in:
arrai 2009-08-18 15:47:45 +02:00
parent 2372623a5b
commit c34ff46443
2 changed files with 2 additions and 2 deletions

View file

@ -634,7 +634,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;

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "8384"
#define REVISION_NR "8385"
#endif // __REVISION_NR_H__