diff options
author | maximius <none@none> | 2009-11-21 03:31:09 -0800 |
---|---|---|
committer | maximius <none@none> | 2009-11-21 03:31:09 -0800 |
commit | 61524e0cde7d5a4e4f00c491b09ea07738612fd3 (patch) | |
tree | 2c4266cf2e25355a64c00a8802e4f0b42c69e428 /src | |
parent | ad71ee4c7a943425f294c9eb637f027b61f9f62d (diff) |
*Revert a useless change from 5dcacd638128 (may of broken AH), closes #338
--HG--
branch : trunk
Diffstat (limited to 'src')
-rw-r--r-- | src/game/AuctionHouseHandler.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/AuctionHouseHandler.cpp b/src/game/AuctionHouseHandler.cpp index 06259d0d6b9..9de5a98062c 100644 --- a/src/game/AuctionHouseHandler.cpp +++ b/src/game/AuctionHouseHandler.cpp @@ -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); |