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 Oct 18, 2024
1 parent 6459fed commit 43034ef
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 @@ -21319,7 +21319,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 43034ef

Please sign in to comment.