mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-20 09:17:36 +01:00
*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);
|
||||
if (log_slot < MAX_QUEST_LOG_SIZE)
|
||||
pPlayer->AreaExploredOrEventHappens(quest_id);
|
||||
else if (CanCompleteQuest(quest_id))
|
||||
else
|
||||
pPlayer->CompleteQuest(quest_id); // quest not in log - for internal use
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user