mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-21 09:44:45 +01:00
buildfix
This commit is contained in:
@@ -14714,7 +14714,7 @@ void Player::RewardQuest(Quest const* quest, LootItemType rewardType, uint32 rew
|
||||
{
|
||||
for (QuestRewardDisplaySpell displaySpell : quest->RewardDisplaySpell)
|
||||
{
|
||||
if (!displaySpell || !ConditionMgr::IsPlayerMeetingCondition(this, displaySpell.PlayerConditionId))
|
||||
if (!displaySpell.SpellId || !ConditionMgr::IsPlayerMeetingCondition(this, displaySpell.PlayerConditionId))
|
||||
continue;
|
||||
|
||||
SpellInfo const* spellInfo = sSpellMgr->AssertSpellInfo(displaySpell.SpellId, GetMap()->GetDifficultyID());
|
||||
|
||||
Reference in New Issue
Block a user