diff options
author | Giacomo Pozzoni <giacomopoz@gmail.com> | 2019-08-01 09:02:51 +0200 |
---|---|---|
committer | Giacomo Pozzoni <giacomopoz@gmail.com> | 2019-08-01 09:02:51 +0200 |
commit | 2803269e8cbc8dcb462425db109b67facdf71715 (patch) | |
tree | 8a88d74b3481b3e833d71a930e203f2a0e4f6b75 /src/server/game/Handlers/AuctionHouseHandler.cpp | |
parent | 0b722e23cf0cdbd7b9753ffe77b349930c34779e (diff) |
Core/Misc: Fix build warning
Diffstat (limited to 'src/server/game/Handlers/AuctionHouseHandler.cpp')
-rw-r--r-- | src/server/game/Handlers/AuctionHouseHandler.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/game/Handlers/AuctionHouseHandler.cpp b/src/server/game/Handlers/AuctionHouseHandler.cpp index ddbd93218bf..c5d83a31812 100644 --- a/src/server/game/Handlers/AuctionHouseHandler.cpp +++ b/src/server/game/Handlers/AuctionHouseHandler.cpp @@ -317,7 +317,7 @@ void WorldSession::HandleAuctionSellItem(WorldPacket& recvData) _player->GetName().c_str(), _player->GetGUID().GetCounter(), item->GetTemplate()->Name1.c_str(), item->GetEntry(), item->GetGUID().GetCounter(), item->GetCount(), bid, buyout, auctionTime, AH->GetHouseId()); // Add to pending auctions, or fail with insufficient funds error - if (!sAuctionMgr->PendingAuctionAdd(_player, AH, item)) + if (!sAuctionMgr->PendingAuctionAdd(_player, AH)) { SendAuctionCommandResult(AH->Id, AUCTION_SELL_ITEM, ERR_AUCTION_NOT_ENOUGHT_MONEY); return; @@ -374,7 +374,7 @@ void WorldSession::HandleAuctionSellItem(WorldPacket& recvData) _player->GetName().c_str(), _player->GetGUID().GetCounter(), newItem->GetTemplate()->Name1.c_str(), newItem->GetEntry(), newItem->GetGUID().GetCounter(), newItem->GetCount(), bid, buyout, auctionTime, AH->GetHouseId()); // Add to pending auctions, or fail with insufficient funds error - if (!sAuctionMgr->PendingAuctionAdd(_player, AH, newItem)) + if (!sAuctionMgr->PendingAuctionAdd(_player, AH)) { SendAuctionCommandResult(AH->Id, AUCTION_SELL_ITEM, ERR_AUCTION_NOT_ENOUGHT_MONEY); return; |