From a9c5ae8152ff13356e6bcab6ceccf2dea440af72 Mon Sep 17 00:00:00 2001 From: NathanHandley Date: Sun, 27 Jul 2025 08:02:24 -0500 Subject: [PATCH] Fix worldsession constructor Upstream added a new parameter to the constructor --- src/AuctionHouseBot.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/AuctionHouseBot.cpp b/src/AuctionHouseBot.cpp index a2ada1c..c9b7af0 100644 --- a/src/AuctionHouseBot.cpp +++ b/src/AuctionHouseBot.cpp @@ -755,7 +755,7 @@ void AuctionHouseBot::Update() uint32 botIndex = urand(0, AHCharacters.size() - 1); CurrentBotCharGUID = AHCharacters[botIndex].CharacterGUID; std::string accountName = "AuctionHouseBot" + std::to_string(AHCharacters[botIndex].AccountID); - WorldSession _session(AHCharacters[botIndex].AccountID, std::move(accountName), nullptr, SEC_PLAYER, sWorld->getIntConfig(CONFIG_EXPANSION), 0, LOCALE_enUS, 0, false, false, 0); + WorldSession _session(AHCharacters[botIndex].AccountID, std::move(accountName), 0, nullptr, SEC_PLAYER, sWorld->getIntConfig(CONFIG_EXPANSION), 0, LOCALE_enUS, 0, false, false, 0); Player _AHBplayer(&_session); _AHBplayer.Initialize(AHCharacters[botIndex].CharacterGUID); ObjectAccessor::AddObject(&_AHBplayer);