diff options
author | Shauren <shauren.trinity@gmail.com> | 2025-06-22 21:41:28 +0200 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2025-06-22 21:41:28 +0200 |
commit | 7ca6b226a7420ff38e3a4f17a3758393d68629e3 (patch) | |
tree | 1ba6c0806d19776dcdd1b49a7a5cc926be76de7a /src/server/game/Conditions | |
parent | b828f563dbc82f3a3d677ef168f75fa5e5ad9491 (diff) |
Core/Conditions: Fix validation for CONDITION_SOURCE_TYPE_PLAYER_CHOICE_RESPONSE
Diffstat (limited to 'src/server/game/Conditions')
-rw-r--r-- | src/server/game/Conditions/ConditionMgr.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/server/game/Conditions/ConditionMgr.cpp b/src/server/game/Conditions/ConditionMgr.cpp index 68b4a27896c..758586c1876 100644 --- a/src/server/game/Conditions/ConditionMgr.cpp +++ b/src/server/game/Conditions/ConditionMgr.cpp @@ -1101,7 +1101,8 @@ bool ConditionMgr::CanHaveSourceGroupSet(ConditionSourceType sourceType) sourceType == CONDITION_SOURCE_TYPE_AREATRIGGER || sourceType == CONDITION_SOURCE_TYPE_TRAINER_SPELL || sourceType == CONDITION_SOURCE_TYPE_OBJECT_ID_VISIBILITY || - sourceType == CONDITION_SOURCE_TYPE_REFERENCE_CONDITION); + sourceType == CONDITION_SOURCE_TYPE_REFERENCE_CONDITION || + sourceType == CONDITION_SOURCE_TYPE_PLAYER_CHOICE_RESPONSE); } bool ConditionMgr::CanHaveSourceIdSet(ConditionSourceType sourceType) |