mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-15 23:20:36 +01:00
Scripts/Battlegrounds: Implement Deephaul Ravine (#30393)
This commit is contained in:
@@ -18,6 +18,7 @@
|
||||
#include "MapManager.h"
|
||||
#include "BattlefieldMgr.h"
|
||||
#include "Battleground.h"
|
||||
#include "BattlegroundScript.h"
|
||||
#include "CharacterCache.h"
|
||||
#include "Containers.h"
|
||||
#include "DatabaseEnv.h"
|
||||
@@ -33,6 +34,7 @@
|
||||
#include "ScriptMgr.h"
|
||||
#include "World.h"
|
||||
#include "WorldStateMgr.h"
|
||||
|
||||
#include <boost/dynamic_bitset.hpp>
|
||||
#include <numeric>
|
||||
|
||||
@@ -131,6 +133,7 @@ BattlegroundMap* MapManager::CreateBattleground(uint32 mapId, uint32 instanceId,
|
||||
bg->SetBgMap(map);
|
||||
map->InitScriptData();
|
||||
map->InitSpawnGroupState();
|
||||
map->GetBattlegroundScript()->OnInit();
|
||||
|
||||
if (sWorld->getBoolConfig(CONFIG_BATTLEGROUNDMAP_LOAD_GRIDS))
|
||||
map->LoadAllCells();
|
||||
|
||||
Reference in New Issue
Block a user