*Start game event system before init bg and opvp in case that bg and opvp needs to start some game events.
--HG-- branch : trunk
This commit is contained in:
+4
-4
@@ -1521,6 +1521,10 @@ void World::SetInitialWorldSettings()
|
|||||||
sLog.outString( "Starting Map System" );
|
sLog.outString( "Starting Map System" );
|
||||||
MapManager::Instance().Initialize();
|
MapManager::Instance().Initialize();
|
||||||
|
|
||||||
|
sLog.outString("Starting Game Event system..." );
|
||||||
|
uint32 nextGameEvent = gameeventmgr.Initialize();
|
||||||
|
m_timers[WUPDATE_EVENTS].SetInterval(nextGameEvent); //depend on next event
|
||||||
|
|
||||||
///- Initialize Battlegrounds
|
///- Initialize Battlegrounds
|
||||||
sLog.outString( "Starting BattleGround System" );
|
sLog.outString( "Starting BattleGround System" );
|
||||||
sBattleGroundMgr.CreateInitialBattleGrounds();
|
sBattleGroundMgr.CreateInitialBattleGrounds();
|
||||||
@@ -1546,10 +1550,6 @@ void World::SetInitialWorldSettings()
|
|||||||
sLog.outString("Starting objects Pooling system..." );
|
sLog.outString("Starting objects Pooling system..." );
|
||||||
poolhandler.Initialize();
|
poolhandler.Initialize();
|
||||||
|
|
||||||
sLog.outString("Starting Game Event system..." );
|
|
||||||
uint32 nextGameEvent = gameeventmgr.Initialize();
|
|
||||||
m_timers[WUPDATE_EVENTS].SetInterval(nextGameEvent); //depend on next event
|
|
||||||
|
|
||||||
sLog.outString("Initialize AuctionHouseBot...");
|
sLog.outString("Initialize AuctionHouseBot...");
|
||||||
AuctionHouseBotInit();
|
AuctionHouseBotInit();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user