aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2024-07-25 12:09:54 +0200
committerOvahlord <dreadkiller@gmx.de>2024-07-25 23:28:03 +0200
commit978eee2f4be3eb073b184a84fadcf66f2e320391 (patch)
tree46e3734318f73f7d7d26a0738d1f7badd795f532 /src
parent2d9b31f48a87a320229f7c87cb288bb8202cd8b6 (diff)
Core/AuctionHouse: Ported WorldSession::SendAuctionHello argument type change from a3aecbdd92000c3338aa14ecfcd3aaca91d99391
(cherry picked from commit 653abefd24642fe9ba042c09f4f133a3264b4917)
Diffstat (limited to 'src')
-rw-r--r--src/server/game/Handlers/AuctionHouseHandler.cpp2
-rw-r--r--src/server/game/Server/WorldSession.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/server/game/Handlers/AuctionHouseHandler.cpp b/src/server/game/Handlers/AuctionHouseHandler.cpp
index 666a1e00150..3ae5e2010f8 100644
--- a/src/server/game/Handlers/AuctionHouseHandler.cpp
+++ b/src/server/game/Handlers/AuctionHouseHandler.cpp
@@ -992,7 +992,7 @@ void WorldSession::HandleAuctionSetFavoriteItem(WorldPackets::AuctionHouse::Auct
}
//this void causes that auction window is opened
-void WorldSession::SendAuctionHello(ObjectGuid guid, Creature* unit)
+void WorldSession::SendAuctionHello(ObjectGuid guid, Unit const* unit)
{
if (GetPlayer()->GetLevel() < sWorld->getIntConfig(CONFIG_AUCTION_LEVEL_REQ))
{
diff --git a/src/server/game/Server/WorldSession.h b/src/server/game/Server/WorldSession.h
index b91ae39b691..b2f1b06868c 100644
--- a/src/server/game/Server/WorldSession.h
+++ b/src/server/game/Server/WorldSession.h
@@ -1075,7 +1075,7 @@ class TC_GAME_API WorldSession
}
}
// Auction
- void SendAuctionHello(ObjectGuid guid, Creature* unit);
+ void SendAuctionHello(ObjectGuid guid, Unit const* unit);
/**
* @fn void WorldSession::SendAuctionCommandResult(uint32 auctionId, uint32 action, uint32 errorCode, uint32 bagError = 0);