aboutsummaryrefslogtreecommitdiff
path: root/src/game/Player.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/Player.cpp')
-rw-r--r--src/game/Player.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/game/Player.cpp b/src/game/Player.cpp
index 7096118f02f..81ebb45a92e 100644
--- a/src/game/Player.cpp
+++ b/src/game/Player.cpp
@@ -1575,6 +1575,19 @@ 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())
{