aboutsummaryrefslogtreecommitdiff
path: root/src/game/World.cpp
diff options
context:
space:
mode:
authormegamage <none@none>2009-05-30 14:48:13 -0500
committermegamage <none@none>2009-05-30 14:48:13 -0500
commit1a857d382ae7bb08d331ee830220343304879b9f (patch)
tree4ee9777d9a63e9c6204bd9dff8d7f94a8b3cbf65 /src/game/World.cpp
parentb3efef3cfe5f35e98f14df680498b466ab58798b (diff)
*Start game event system before init bg and opvp in case that bg and opvp needs to start some game events.
--HG-- branch : trunk
Diffstat (limited to 'src/game/World.cpp')
-rw-r--r--src/game/World.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/game/World.cpp b/src/game/World.cpp
index 1c3200f8351..563ee500d5f 100644
--- a/src/game/World.cpp
+++ b/src/game/World.cpp
@@ -1521,6 +1521,10 @@ void World::SetInitialWorldSettings()
sLog.outString( "Starting Map System" );
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
sLog.outString( "Starting BattleGround System" );
sBattleGroundMgr.CreateInitialBattleGrounds();
@@ -1546,10 +1550,6 @@ void World::SetInitialWorldSettings()
sLog.outString("Starting objects Pooling system..." );
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...");
AuctionHouseBotInit();