diff options
| author | megamage <none@none> | 2009-01-06 12:15:18 -0600 |
|---|---|---|
| committer | megamage <none@none> | 2009-01-06 12:15:18 -0600 |
| commit | 2b21f0e7302cfdb0fc79e3255f80dc33b939c974 (patch) | |
| tree | c1fb071d3c86ead192f9cbf7acffa06c050cd4d5 /src/game/Player.cpp | |
| parent | 215039055bf5f017870d583c60c01c303d1a2d33 (diff) | |
| parent | 290a187592d28cbfd9639ded43663077711f3379 (diff) | |
*Merge with Trinity 793.
--HG--
branch : trunk
Diffstat (limited to 'src/game/Player.cpp')
| -rw-r--r-- | src/game/Player.cpp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/game/Player.cpp b/src/game/Player.cpp index 7c42b48c1fc..de8a1a747a7 100644 --- a/src/game/Player.cpp +++ b/src/game/Player.cpp @@ -1577,6 +1577,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()) { |
