diff options
| author | Intel <chemicstry@gmail.com> | 2014-11-09 02:51:35 +0200 |
|---|---|---|
| committer | Intel <chemicstry@gmail.com> | 2014-11-09 02:51:35 +0200 |
| commit | 2a4f56107f6e066211eebfe85ee70a9f5a9735fb (patch) | |
| tree | 89e7d8b34d262fe27d4966d14f0e0414de4d7cbc /src/server/game/Maps/MapInstanced.cpp | |
| parent | d666e77ae8704528407c87e5d6e45af13540aab5 (diff) | |
Core/DataStores: Even more converted dbcs
Diffstat (limited to 'src/server/game/Maps/MapInstanced.cpp')
| -rw-r--r-- | src/server/game/Maps/MapInstanced.cpp | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/src/server/game/Maps/MapInstanced.cpp b/src/server/game/Maps/MapInstanced.cpp index 498c669ba01..8dfa4449e12 100644 --- a/src/server/game/Maps/MapInstanced.cpp +++ b/src/server/game/Maps/MapInstanced.cpp @@ -227,16 +227,7 @@ BattlegroundMap* MapInstanced::CreateBattleground(uint32 InstanceId, Battlegroun TC_LOG_DEBUG("maps", "MapInstanced::CreateBattleground: map bg %d for %d created.", InstanceId, GetId()); - PvPDifficultyEntry const* bracketEntry = GetBattlegroundBracketByLevel(bg->GetMapId(), bg->GetMinLevel()); - - uint8 spawnMode; - - if (bracketEntry) - spawnMode = bracketEntry->difficulty; - else - spawnMode = REGULAR_DIFFICULTY; - - BattlegroundMap* map = new BattlegroundMap(GetId(), GetGridExpiry(), InstanceId, this, spawnMode); + BattlegroundMap* map = new BattlegroundMap(GetId(), GetGridExpiry(), InstanceId, this, REGULAR_DIFFICULTY); ASSERT(map->IsBattlegroundOrArena()); map->SetBG(bg); bg->SetBgMap(map); |
