*Revert a useless change from 5dcacd638128 (may of broken AH), closes #338
--HG-- branch : trunk
This commit is contained in:
@@ -286,11 +286,11 @@ void WorldSession::HandleAuctionPlaceBid(WorldPacket & recv_data)
|
|||||||
{
|
{
|
||||||
uint64 auctioneer;
|
uint64 auctioneer;
|
||||||
uint32 auctionId;
|
uint32 auctionId;
|
||||||
int32 price;
|
uint32 price;
|
||||||
recv_data >> auctioneer;
|
recv_data >> auctioneer;
|
||||||
recv_data >> auctionId >> price;
|
recv_data >> auctionId >> price;
|
||||||
|
|
||||||
if (!auctionId || price <= 0)
|
if (!auctionId || !price)
|
||||||
return; //check for cheaters
|
return; //check for cheaters
|
||||||
|
|
||||||
Creature *pCreature = GetPlayer()->GetNPCIfCanInteractWith(auctioneer, UNIT_NPC_FLAG_AUCTIONEER);
|
Creature *pCreature = GetPlayer()->GetNPCIfCanInteractWith(auctioneer, UNIT_NPC_FLAG_AUCTIONEER);
|
||||||
|
|||||||
Reference in New Issue
Block a user