From a55c618af648f64c395da1a8bda0da38e2d4e871 Mon Sep 17 00:00:00 2001 From: megamage Date: Wed, 19 Aug 2009 16:57:53 -0500 Subject: [8385] Use 3D coordinates for checking corpse distance at reclaiming Author: arrai --HG-- branch : trunk --- src/game/MiscHandler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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; -- cgit v1.2.3