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/LootHandler.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/LootHandler.cpp')
| -rw-r--r-- | src/game/LootHandler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/LootHandler.cpp b/src/game/LootHandler.cpp index de464cf050e..74b9730691f 100644 --- a/src/game/LootHandler.cpp +++ b/src/game/LootHandler.cpp @@ -222,7 +222,7 @@ void WorldSession::HandleLootMoneyOpcode( WorldPacket & /*recv_data*/ ) Player* playerGroup = itr->getSource(); if(!playerGroup) continue; - if (player->IsWithinDist(playerGroup,sWorld.getConfig(CONFIG_GROUP_XP_DISTANCE),false)) + if (player->IsWithinDistInMap(playerGroup,sWorld.getConfig(CONFIG_GROUP_XP_DISTANCE),false)) playersNear.push_back(playerGroup); } |
