*Backout second change from last commit (CanCompleteQuest check) Thanks to Shauren for info.
--HG-- branch : trunk
This commit is contained in:
@@ -7035,7 +7035,7 @@ void Spell::EffectQuestComplete(uint32 i)
|
|||||||
uint16 log_slot = pPlayer->FindQuestSlot(quest_id);
|
uint16 log_slot = pPlayer->FindQuestSlot(quest_id);
|
||||||
if (log_slot < MAX_QUEST_LOG_SIZE)
|
if (log_slot < MAX_QUEST_LOG_SIZE)
|
||||||
pPlayer->AreaExploredOrEventHappens(quest_id);
|
pPlayer->AreaExploredOrEventHappens(quest_id);
|
||||||
else if (CanCompleteQuest(quest_id))
|
else
|
||||||
pPlayer->CompleteQuest(quest_id); // quest not in log - for internal use
|
pPlayer->CompleteQuest(quest_id); // quest not in log - for internal use
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user