From 7ca6b226a7420ff38e3a4f17a3758393d68629e3 Mon Sep 17 00:00:00 2001 From: Shauren Date: Sun, 22 Jun 2025 21:41:28 +0200 Subject: Core/Conditions: Fix validation for CONDITION_SOURCE_TYPE_PLAYER_CHOICE_RESPONSE --- src/server/game/Conditions/ConditionMgr.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') 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) -- cgit v1.2.3