From ef8d2ac0808bce13a53132908df18d4f39a81b88 Mon Sep 17 00:00:00 2001 From: "Paradox iamparadox@netscape.net" Date: Sat, 28 Feb 2009 17:42:29 -0500 Subject: AHBot/AH changes --HG-- branch : trunk --- src/game/World.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/game/World.cpp') diff --git a/src/game/World.cpp b/src/game/World.cpp index 1e9923cc065..f056e8b8330 100644 --- a/src/game/World.cpp +++ b/src/game/World.cpp @@ -281,7 +281,7 @@ bool World::HasRecentlyDisconnected(WorldSession* session) if(!session) return false; if(uint32 tolerance = getConfig(CONFIG_INTERVAL_DISCONNECT_TOLERANCE)) - { + { for(DisconnectMap::iterator i = m_disconnects.begin(); i != m_disconnects.end(); ++i) { if(difftime(i->second, time(NULL)) < tolerance) @@ -1606,7 +1606,7 @@ void World::Update(uint32 diff) if (m_timers[WUPDATE_AUCTIONS].Passed()) { AuctionHouseBot(); - m_timers[WUPDATE_AUCTIONS].Reset(); + m_timers[WUPDATE_AUCTIONS].Reset(); ///- Update mails (return old mails with item, or delete them) //(tested... works on win) -- cgit v1.2.3