diff options
| author | n0n4m3 <none@none> | 2009-12-17 19:09:40 +0100 |
|---|---|---|
| committer | n0n4m3 <none@none> | 2009-12-17 19:09:40 +0100 |
| commit | 3e133c47865d57816132300df2749b297f97bce0 (patch) | |
| tree | 306c46fe0dd82f3909f65ef3cfccd3426bc049da /src/game/MiscHandler.cpp | |
| parent | 6b405c63cc291f979abbb8939dd3b129fa664584 (diff) | |
[9012] fix crash when achievement is completed and player isn't in world
--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 c843bd27fe0..85e1a497a25 100644 --- a/src/game/MiscHandler.cpp +++ b/src/game/MiscHandler.cpp @@ -736,7 +736,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, true)) + if (!corpse->IsWithinDistInMap(GetPlayer(), CORPSE_RECLAIM_RADIUS, true)) return; uint64 guid; |
