diff options
author | Shauren <shauren.trinity@gmail.com> | 2024-12-02 15:19:19 +0100 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2024-12-02 15:19:19 +0100 |
commit | 7153538db65a2a78bd16339ea44025a9af5fc27c (patch) | |
tree | 3be56dff8073df71e1b40dc57d9d734e49766680 | |
parent | 4b09bb37ddbe1f18f7bc972f27c41c44d3eae1f6 (diff) |
Core/Conditions: Added missing CONDITION_STRING_ID case to Condition::GetSearcherTypeMaskForCondition
-rw-r--r-- | src/server/game/Conditions/ConditionMgr.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/server/game/Conditions/ConditionMgr.cpp b/src/server/game/Conditions/ConditionMgr.cpp index 194bdbd991c..f431db82c34 100644 --- a/src/server/game/Conditions/ConditionMgr.cpp +++ b/src/server/game/Conditions/ConditionMgr.cpp @@ -890,6 +890,9 @@ uint32 Condition::GetSearcherTypeMaskForCondition() const case CONDITION_PRIVATE_OBJECT: mask |= GRID_MAP_TYPE_MASK_ALL & ~GRID_MAP_TYPE_MASK_PLAYER; break; + case CONDITION_STRING_ID: + mask |= GRID_MAP_TYPE_MASK_CREATURE | GRID_MAP_TYPE_MASK_GAMEOBJECT; + break; default: ABORT_MSG("Condition::GetSearcherTypeMaskForCondition - missing condition handling!"); break; |