Fixed auction (may be not completely).

This commit is contained in:
tomrus88 2010-03-13 23:06:53 +03:00
parent c2a3062f4e
commit e82eb322e3

View file

@ -59,8 +59,9 @@ void WorldSession::SendAuctionHello( uint64 guid, Creature* unit )
return; return;
WorldPacket data( MSG_AUCTION_HELLO, 12 ); WorldPacket data( MSG_AUCTION_HELLO, 12 );
data << (uint64) guid; data << uint64(guid);
data << (uint32) ahEntry->houseId; data << uint32(ahEntry->houseId);
data << uint8(1); // 3.3.3: 1 - AH enabled, 0 - AH disabled
SendPacket( &data ); SendPacket( &data );
} }
@ -72,7 +73,7 @@ void WorldSession::SendAuctionCommandResult(uint32 auctionId, uint32 Action, uin
data << Action; data << Action;
data << ErrorCode; data << ErrorCode;
if ( !ErrorCode && Action ) if ( !ErrorCode && Action )
data << bidError; //when bid, then send 0, once... data << bidError; // when bid, then send 0, once...
SendPacket(&data); SendPacket(&data);
} }