Remove double requirement check in AreaTrigger teleport

--HG--
branch : trunk
This commit is contained in:
Tartalo
2010-07-09 13:12:25 +02:00
parent bf111e7d96
commit 7b27b98599
@@ -931,8 +931,9 @@ void WorldSession::HandleAreaTriggerOpcode(WorldPacket & recv_data)
if (!at)
return;
if (!GetPlayer()->Satisfy(objmgr.GetAccessRequirement(at->access_id), at->target_mapId, true))
return;
// MapManager::CanPlayerEnter() calls players->Satisfy() so this is not needed here
// if (!GetPlayer()->Satisfy(objmgr.GetAccessRequirement(at->access_id), at->target_mapId, true))
// return;
// check if player can enter instance : instance not full, and raid instance not in encounter fight
if (!sMapMgr.CanPlayerEnter(at->target_mapId, GetPlayer(), false))