aboutsummaryrefslogtreecommitdiff
path: root/src/game/World.cpp
diff options
context:
space:
mode:
authormegamage <none@none>2009-01-23 14:23:25 -0600
committermegamage <none@none>2009-01-23 14:23:25 -0600
commitf0ebb960642ad0fa43fa49fd3cc76f6516de6cd3 (patch)
treea6fa76445cfa07bf060a473ad1910c724fa679a4 /src/game/World.cpp
parentb28b8b5ced6f0e0a7b52403010a7b465b5a765ae (diff)
parentc3ce24c30fc824d73f719780d7791a0095c14d61 (diff)
*Update to HG 957.
--HG-- branch : trunk
Diffstat (limited to 'src/game/World.cpp')
-rw-r--r--src/game/World.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/game/World.cpp b/src/game/World.cpp
index fde4126db18..7dd1a54769f 100644
--- a/src/game/World.cpp
+++ b/src/game/World.cpp
@@ -51,6 +51,7 @@
#include "BattleGroundMgr.h"
#include "OutdoorPvPMgr.h"
#include "TemporarySummon.h"
+#include "AuctionHouseBot.h"
#include "WaypointMovementGenerator.h"
#include "VMapFactory.h"
#include "GlobalEvents.h"
@@ -1453,6 +1454,9 @@ void World::SetInitialWorldSettings()
uint32 nextGameEvent = gameeventmgr.Initialize();
m_timers[WUPDATE_EVENTS].SetInterval(nextGameEvent); //depend on next event
+ sLog.outString("Initialize AuctionHouseBot...");
+ AuctionHouseBotInit();
+
sLog.outString( "WORLD: World initialized" );
}
@@ -1564,7 +1568,8 @@ void World::Update(uint32 diff)
/// <ul><li> Handle auctions when the timer has passed
if (m_timers[WUPDATE_AUCTIONS].Passed())
{
- m_timers[WUPDATE_AUCTIONS].Reset();
+ AuctionHouseBot();
+ m_timers[WUPDATE_AUCTIONS].Reset();
///- Update mails (return old mails with item, or delete them)
//(tested... works on win)