mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-27 12:22:39 +01:00
*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;
|
||||
uint32 auctionId;
|
||||
int32 price;
|
||||
uint32 price;
|
||||
recv_data >> auctioneer;
|
||||
recv_data >> auctionId >> price;
|
||||
|
||||
if (!auctionId || price <= 0)
|
||||
if (!auctionId || !price)
|
||||
return; //check for cheaters
|
||||
|
||||
Creature *pCreature = GetPlayer()->GetNPCIfCanInteractWith(auctioneer, UNIT_NPC_FLAG_AUCTIONEER);
|
||||
|
||||
Reference in New Issue
Block a user