*Remove not needed code

--HG--
branch : trunk
This commit is contained in:
Blaymoira
2009-03-14 11:49:16 +01:00
parent b7f6495d2a
commit c45fe6969c
4 changed files with 3 additions and 18 deletions
+1
View File
@@ -0,0 +1 @@
DELETE FROM trinity_string WHERE entry in (10056, 10057);
+1
View File
@@ -80,4 +80,5 @@ INSTALL(FILES
1828_world.sql
1857_world.sql
1881_world.sql
1884_world.sql
DESTINATION share/trinity/sql/updates)
-4
View File
@@ -907,10 +907,6 @@ enum TrinityStrings
LANG_OPVP_EP_FLIGHT_CGT = 10053,
LANG_OPVP_ZM_GOSSIP_ALLIANCE = 10054,
LANG_OPVP_ZM_GOSSIP_HORDE = 10055,
LANG_NO_ENTER_HALL_OF_LEGENDS = 10056,
LANG_NO_ENTER_CHAMPIONS_HALL = 10057,
// Use for custom patches 11000-11999
-13
View File
@@ -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())
{