diff options
Diffstat (limited to 'src/game/AuctionHouseHandler.cpp')
-rw-r--r-- | src/game/AuctionHouseHandler.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/game/AuctionHouseHandler.cpp b/src/game/AuctionHouseHandler.cpp index fdfea922c4f..6ff9d7d5f8d 100644 --- a/src/game/AuctionHouseHandler.cpp +++ b/src/game/AuctionHouseHandler.cpp @@ -30,6 +30,7 @@ #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 ! @@ -271,7 +272,7 @@ void WorldSession::HandleAuctionSellItem(WorldPacket & recv_data) AH->bidder = 0; AH->bid = 0; AH->buyout = buyout; - AH->expire_time = time(NULL) + auction_time; + AH->expire_time = sGameTime.GetGameTime() + auction_time; AH->deposit = deposit; AH->auctionHouseEntry = auctionHouseEntry; |