*Remove not needed code
--HG-- branch : trunk
This commit is contained in:
1 parent
b7f6495d2a
commit
c45fe6969c
4 files changed
+3
-18
No files matched your search
@@ -1625,19 +1625,6 @@ bool Player::TeleportTo(uint32 mapid, float x, float y, float z, float orientati
|
||||
if(!InBattleGround() && mEntry->IsBattleGroundOrArena())
|
||||
return false;
|
||||
|
||||
// 449 - Champions' Hall (Alliance) // 450 - Hall of Legends (Horde)
|
||||
if(mapid == 449 && GetTeam()==HORDE)
|
||||
{
|
||||
GetSession()->SendNotification(LANG_NO_ENTER_CHAMPIONS_HALL);
|
||||
return false;
|
||||
}
|
||||
|
||||
if(mapid == 450 && GetTeam() == ALLIANCE)
|
||||
{
|
||||
GetSession()->SendNotification(LANG_NO_ENTER_HALL_OF_LEGENDS);
|
||||
return false;
|
||||
}
|
||||
|
||||
// client without expansion support
|
||||
if(GetSession()->Expansion() < mEntry->Expansion())
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user