Skip to content

Commit

Permalink
Fix Playerbots after weak_ptr addition
Browse files Browse the repository at this point in the history
  • Loading branch information
Niam5 committed Aug 31, 2024
1 parent 745f1ee commit 5ab7117
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 @@ -21350,7 +21350,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 5ab7117

Please sign in to comment.