mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 22:37:03 +00:00
Fixed auction (may be not completely).
This commit is contained in:
parent
c2a3062f4e
commit
e82eb322e3
1 changed files with 4 additions and 3 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue