aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorn0n4m3 <none@none>2009-12-19 10:29:12 +0100
committern0n4m3 <none@none>2009-12-19 10:29:12 +0100
commite13c23160fa584362281406b034a417cc5dc349e (patch)
tree5a4682faa9550c8c24f15d1914f9c91828fabc94 /src
parent243f33b5eae4e5dc96e8134c650ea74daa07ee35 (diff)
Restore work Auction
--HG-- branch : trunk
Diffstat (limited to 'src')
-rw-r--r--src/game/AuctionHouseHandler.cpp10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/game/AuctionHouseHandler.cpp b/src/game/AuctionHouseHandler.cpp
index 12ed6fc797c..fdfea922c4f 100644
--- a/src/game/AuctionHouseHandler.cpp
+++ b/src/game/AuctionHouseHandler.cpp
@@ -162,8 +162,14 @@ void WorldSession::HandleAuctionSellItem(WorldPacket & recv_data)
{
uint64 auctioneer, item;
uint32 etime, bid, buyout;
- recv_data >> auctioneer >> item;
- recv_data >> bid >> buyout >> etime;
+ recv_data >> auctioneer;
+ recv_data.read_skip<uint32>(); // const 1?
+ recv_data >> item;
+ recv_data.read_skip<uint32>(); // unk 3.2.2, const 1?
+ recv_data >> bid;
+ recv_data >> buyout;
+ recv_data >> etime;
+
Player *pl = GetPlayer();
if (!item || !bid || !etime)