[8355] Implement QUEST_STATUS_FAILED and simplify related code.

Use FailQuest for all quests that can fail and remove no longer needed function FailedTimedQuest.

    Signed-off-by: NoFantasy <[email protected]>

--HG--
branch : trunk
This commit is contained in:
megamage
2009-08-12 20:57:35 -05:00
parent 2e1b5a41b7
commit 9f38d67f2e
3 changed files with 35 additions and 41 deletions
-1
View File
@@ -1222,7 +1222,6 @@ class MANGOS_DLL_SPEC Player : public Unit
void IncompleteQuest( uint32 quest_id );
void RewardQuest( Quest const *pQuest, uint32 reward, Object* questGiver, bool announce = true );
void FailQuest( uint32 quest_id );
void FailTimedQuest( uint32 quest_id );
bool SatisfyQuestSkillOrClass( Quest const* qInfo, bool msg );
bool SatisfyQuestLevel( Quest const* qInfo, bool msg );
bool SatisfyQuestLog( bool msg );