From e82eb322e38d000709738e77f88004a96824a950 Mon Sep 17 00:00:00 2001 From: tomrus88 Date: Sat, 13 Mar 2010 23:06:53 +0300 Subject: [PATCH] Fixed auction (may be not completely). --- src/game/AuctionHouseHandler.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/game/AuctionHouseHandler.cpp b/src/game/AuctionHouseHandler.cpp index 1a8425c42..4e3d61734 100644 --- a/src/game/AuctionHouseHandler.cpp +++ b/src/game/AuctionHouseHandler.cpp @@ -59,8 +59,9 @@ void WorldSession::SendAuctionHello( uint64 guid, Creature* unit ) return; WorldPacket data( MSG_AUCTION_HELLO, 12 ); - data << (uint64) guid; - data << (uint32) ahEntry->houseId; + data << uint64(guid); + data << uint32(ahEntry->houseId); + data << uint8(1); // 3.3.3: 1 - AH enabled, 0 - AH disabled SendPacket( &data ); } @@ -72,7 +73,7 @@ void WorldSession::SendAuctionCommandResult(uint32 auctionId, uint32 Action, uin data << Action; data << ErrorCode; if ( !ErrorCode && Action ) - data << bidError; //when bid, then send 0, once... + data << bidError; // when bid, then send 0, once... SendPacket(&data); }