From 031742b3a0b69d7c75766de44df289f1cd97e909 Mon Sep 17 00:00:00 2001 From: mostlikely4r Date: Thu, 14 Nov 2024 10:20:16 +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 aea4e564b7..b1788f682c 100644 --- a/src/game/Entities/Player.cpp +++ b/src/game/Entities/Player.cpp @@ -21080,7 +21080,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;