From 7ee4c4554769afec05cdbdc38732dbcb7bebaf86 Mon Sep 17 00:00:00 2001 From: mostlikely4r Date: Thu, 14 Nov 2024 14:05:46 +0100 Subject: [PATCH] Playerbot: Compile fix for new quest weakptr --- src/game/Entities/Player.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/game/Entities/Player.cpp b/src/game/Entities/Player.cpp index 34e1458c5c..0dd8c20a75 100644 --- a/src/game/Entities/Player.cpp +++ b/src/game/Entities/Player.cpp @@ -19253,7 +19253,7 @@ void Player::learnClassLevelSpells(bool includeHighLevelQuestRewards) ObjectMgr::QuestMap const& qTemplates = sObjectMgr.GetQuestTemplates(); for (const auto& qTemplate : qTemplates) { - Quest const* quest = qTemplate.second; + Quest const* quest = qTemplate.second.get(); if (!quest) continue;