Skip to content

Commit

Permalink
Playerbot weak_ptr fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Niam5 committed Nov 14, 2024
1 parent 14b02fa commit 89125be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/game/Entities/Player.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21327,7 +21327,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;

Expand Down

0 comments on commit 89125be

Please sign in to comment.