*Backout second change from last commit (CanCompleteQuest check) Thanks to Shauren for info.

--HG--
branch : trunk
This commit is contained in:
QAston committed 2010-07-22 12:56:32 +02:00
1 parent 002e6e1029
commit 34b75bca95
1 file changed
+1 -1
+1 -1
View File
@@ -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
}
}