aboutsummaryrefslogtreecommitdiff
path: root/src/server/game/Handlers/AuctionHouseHandler.cpp
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2025-02-05 20:20:17 +0100
committerOvahlord <dreadkiller@gmx.de>2025-02-08 22:05:24 +0100
commit162e724e2e0bea54ab0de46a80f066df4bb2d1b9 (patch)
tree25943a120748456a6b9c29b42b9bc42503bdd347 /src/server/game/Handlers/AuctionHouseHandler.cpp
parent7ac91e8c3345e68674fa2ec02b0e60531943f435 (diff)
Core/Misc: Reduce code differences between branches
(cherry picked from commit 9201c0f035308af07ef416a7a10fbaa98176badb)
Diffstat (limited to 'src/server/game/Handlers/AuctionHouseHandler.cpp')
-rw-r--r--src/server/game/Handlers/AuctionHouseHandler.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/game/Handlers/AuctionHouseHandler.cpp b/src/server/game/Handlers/AuctionHouseHandler.cpp
index c4cb2ed9752..04845eb65c1 100644
--- a/src/server/game/Handlers/AuctionHouseHandler.cpp
+++ b/src/server/game/Handlers/AuctionHouseHandler.cpp
@@ -442,13 +442,13 @@ void WorldSession::SendAuctionHello(ObjectGuid guid, Unit const* unit)
SendPacket(auctionHelloResponse.Write());
}
-void WorldSession::SendAuctionCommandResult(uint32 auctionId, AuctionCommand command, AuctionResult errorCode, Milliseconds delayForNextAction, InventoryResult bagError /*= 0*/)
+void WorldSession::SendAuctionCommandResult(uint32 auctionId, AuctionCommand command, AuctionResult errorCode, Milliseconds delayForNextAction, InventoryResult bagResult /*= 0*/)
{
WorldPackets::AuctionHouse::AuctionCommandResult auctionCommandResult;
auctionCommandResult.AuctionID = auctionId;
auctionCommandResult.Command = AsUnderlyingType(command);
auctionCommandResult.ErrorCode = AsUnderlyingType(errorCode);
- auctionCommandResult.BagResult = AsUnderlyingType(bagError);
+ auctionCommandResult.BagResult = AsUnderlyingType(bagResult);
auctionCommandResult.DesiredDelay = uint32(delayForNextAction.count());
SendPacket(auctionCommandResult.Write());
}