diff options
author | Shauren <shauren.trinity@gmail.com> | 2024-04-12 00:18:20 +0200 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2024-04-12 00:18:20 +0200 |
commit | 69da702b930d43738bcaf49ce57b333dfc19ecfd (patch) | |
tree | 697d5a303ce10d25ea6e631cc4012c3ff3734c81 /src/server/game/AuctionHouse/AuctionHouseMgr.cpp | |
parent | 8c274a8e8d496bf2ac1beafd31e0967e6659f967 (diff) |
Core/Items: Implemented CreateTime item field and changed refund/soulbound trade timers to also count time offline
Diffstat (limited to 'src/server/game/AuctionHouse/AuctionHouseMgr.cpp')
-rw-r--r-- | src/server/game/AuctionHouse/AuctionHouseMgr.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/game/AuctionHouse/AuctionHouseMgr.cpp b/src/server/game/AuctionHouse/AuctionHouseMgr.cpp index a89cca92af9..0634d60af82 100644 --- a/src/server/game/AuctionHouse/AuctionHouseMgr.cpp +++ b/src/server/game/AuctionHouse/AuctionHouseMgr.cpp @@ -529,12 +529,12 @@ void AuctionHouseMgr::LoadAuctions() } Item* item = NewItemOrBag(proto); - if (!item->LoadFromDB(itemGuid, ObjectGuid::Create<HighGuid::Player>(fields[51].GetUInt64()), fields, itemEntry)) + if (!item->LoadFromDB(itemGuid, ObjectGuid::Create<HighGuid::Player>(fields[52].GetUInt64()), fields, itemEntry)) { delete item; continue; } - uint32 auctionId = fields[52].GetUInt32(); + uint32 auctionId = fields[53].GetUInt32(); itemsByAuction[auctionId].push_back(item); ++count; |