Temporary revert 6743 commit. I fix this patch across 1-2 days.

--HG--
branch : trunk
This commit is contained in:
n0n4m3
2009-12-24 10:20:15 +01:00
parent acdc4ca15b
commit 250a00cc1c
53 changed files with 365 additions and 354 deletions
+1 -2
View File
@@ -30,7 +30,6 @@
#include "Opcodes.h"
#include "UpdateMask.h"
#include "Util.h"
#include "TimeMgr.h"
//please DO NOT use iterator++, because it is slower than ++iterator!!!
//post-incrementation is always slower than pre-incrementation !
@@ -272,7 +271,7 @@ void WorldSession::HandleAuctionSellItem(WorldPacket & recv_data)
AH->bidder = 0;
AH->bid = 0;
AH->buyout = buyout;
AH->expire_time = sGameTime.GetGameTime() + auction_time;
AH->expire_time = time(NULL) + auction_time;
AH->deposit = deposit;
AH->auctionHouseEntry = auctionHouseEntry;