fix(Core/Quest): typo in RewardQuest makes LFG quests not reward if dead (#19271)
fix(Core/Quest): typo in RewardQuest * Allow LFG quests to be rewarded even when dead
This commit is contained in:
parent
e41080468f
commit
d5ba5e0168
1 changed files with 1 additions and 1 deletions
|
|
@ -753,7 +753,7 @@ void Player::RewardQuest(Quest const* quest, uint32 reward, Object* questGiver,
|
|||
else
|
||||
{
|
||||
sScriptMgr->OnGivePlayerXP(this, XP, nullptr, isLFGReward ? PlayerXPSource::XPSOURCE_QUEST_DF : PlayerXPSource::XPSOURCE_QUEST);
|
||||
GiveXP(XP, nullptr, isLFGReward);
|
||||
GiveXP(XP, nullptr, 1.0f, isLFGReward);
|
||||
}
|
||||
|
||||
// Give player extra money if GetRewOrReqMoney > 0 and get ReqMoney if negative
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue