aboutsummaryrefslogtreecommitdiff
path: root/src/server/game/Conditions/ConditionMgr.h
diff options
context:
space:
mode:
authorRat <none@none>2010-09-19 19:49:23 +0200
committerRat <none@none>2010-09-19 19:49:23 +0200
commit5de3183180ae323f6ffbef04a6e290a9c2c2f8db (patch)
tree9d6a2f4a7e4f8c1e34d764ab1b5a22c71ffe2cc3 /src/server/game/Conditions/ConditionMgr.h
parentc4ed3430cf29cece97e66e66fc28fffc36fdfa21 (diff)
Core/ConditionMgr: You can now add conditions to QuestAccept (at CanTakeQuest check)
--HG-- branch : trunk
Diffstat (limited to 'src/server/game/Conditions/ConditionMgr.h')
-rw-r--r--src/server/game/Conditions/ConditionMgr.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/server/game/Conditions/ConditionMgr.h b/src/server/game/Conditions/ConditionMgr.h
index 0a0741e98ed..2a8803a6c8d 100644
--- a/src/server/game/Conditions/ConditionMgr.h
+++ b/src/server/game/Conditions/ConditionMgr.h
@@ -79,10 +79,11 @@ enum ConditionSourceType
CONDITION_SOURCE_TYPE_GOSSIP_MENU_OPTION = 15,//DONE
CONDITION_SOURCE_TYPE_CREATURE_TEMPLATE_VEHICLE = 16,//DONE
CONDITION_SOURCE_TYPE_SPELL = 17,//DONE
- CONDITION_SOURCE_TYPE_ITEM_REQUIRED_TARGET = 18//DONE
+ CONDITION_SOURCE_TYPE_ITEM_REQUIRED_TARGET = 18,//DONE
+ CONDITION_SOURCE_TYPE_QUEST_ACCEPT = 19//DONE
};
-#define MAX_CONDITIONSOURCETYPE 19
+#define MAX_CONDITIONSOURCETYPE 20
struct Condition
{