diff options
author | Spp <none@none> | 2010-03-13 00:47:24 +0100 |
---|---|---|
committer | Spp <none@none> | 2010-03-13 00:47:24 +0100 |
commit | ff89bad0fea3148b840e6f416476ed3073837672 (patch) | |
tree | 1baab4183d4bdcbca6cd326cbfe973c6e70bc820 /src/game/BattleGround.h | |
parent | e1a8e1b2c9fd951665ca06a771cdf27a7be363de (diff) |
Allow Battlegrounds and arenas to be disabled by DB.
wtlk arenas disabled by default.
- Player will continue to see all bgs using UI, but won't be able to join disabled bg's
- Gossip menu not shown for disabled Bgs/arenas
- Id 6 disabled = all arenas disabled.
- Only id 6 arena enabled = Gossip shown but unable to join any arena
--HG--
branch : trunk
Diffstat (limited to 'src/game/BattleGround.h')
-rw-r--r-- | src/game/BattleGround.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/game/BattleGround.h b/src/game/BattleGround.h index 02783a582a9..43b724fe1c2 100644 --- a/src/game/BattleGround.h +++ b/src/game/BattleGround.h @@ -256,7 +256,9 @@ enum BattleGroundJoinError BG_JOIN_ERR_GROUP_MEMBER_ALREADY_IN_QUEUE = 6, BG_JOIN_ERR_GROUP_DESERTER = 7, BG_JOIN_ERR_ALL_QUEUES_USED = 8, - BG_JOIN_ERR_GROUP_NOT_ENOUGH = 9 + BG_JOIN_ERR_GROUP_NOT_ENOUGH = 9, + BG_JOIN_ERR_BG_DISABLED = 10, + BG_JOIN_ERR_ARENA_DISABLED = 11, }; class BattleGroundScore |