aboutsummaryrefslogtreecommitdiff
path: root/src/game/BattleGroundMgr.cpp
diff options
context:
space:
mode:
authorKudlaty <none@none>2009-11-27 02:03:50 +0100
committerKudlaty <none@none>2009-11-27 02:03:50 +0100
commit353a9f37405cc54b9f3a7d6d47f09ec801b1ad65 (patch)
tree86d545235868f1cc9d0ca7cacf06b14a943194ab /src/game/BattleGroundMgr.cpp
parent9bd797d402c498d2e8f70aa916b3caf3956577af (diff)
Apply #413
Implementation of Ring of Valor (Orgrimmar Arena) Patch by Spp and Opterman --HG-- branch : trunk
Diffstat (limited to 'src/game/BattleGroundMgr.cpp')
-rw-r--r--src/game/BattleGroundMgr.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/game/BattleGroundMgr.cpp b/src/game/BattleGroundMgr.cpp
index b697b8bbc9b..926759c0373 100644
--- a/src/game/BattleGroundMgr.cpp
+++ b/src/game/BattleGroundMgr.cpp
@@ -1554,8 +1554,8 @@ BattleGround * BattleGroundMgr::CreateNewBattleGround(BattleGroundTypeId bgTypeI
//for arenas there is random map used
if (bg_template->isArena())
{
- BattleGroundTypeId arenas[] = {BATTLEGROUND_NA, BATTLEGROUND_BE, BATTLEGROUND_RL};
- uint32 arena_num = urand(0,2);
+ BattleGroundTypeId arenas[] = {BATTLEGROUND_RV, BATTLEGROUND_NA, BATTLEGROUND_BE, BATTLEGROUND_RL};
+ uint32 arena_num = urand(0,3);
bgTypeId = arenas[arena_num];
bg_template = GetBattleGroundTemplate(bgTypeId);
if (!bg_template)
@@ -1929,6 +1929,8 @@ bool BattleGroundMgr::IsArenaType(BattleGroundTypeId bgTypeId)
return ( bgTypeId == BATTLEGROUND_AA ||
bgTypeId == BATTLEGROUND_BE ||
bgTypeId == BATTLEGROUND_NA ||
+ bgTypeId == BATTLEGROUND_DS ||
+ bgTypeId == BATTLEGROUND_RV ||
bgTypeId == BATTLEGROUND_RL );
}