diff options
author | Shauren <shauren.trinity@gmail.com> | 2024-12-02 15:18:44 +0100 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2024-12-02 15:18:44 +0100 |
commit | 4b09bb37ddbe1f18f7bc972f27c41c44d3eae1f6 (patch) | |
tree | ad1a2e2513343c269686ca3e38bfa992b7d8b40e /src/server/game/Conditions/ConditionMgr.h | |
parent | 9c688bdde9629d01d82db2cceb81683c24fa9860 (diff) |
Core/Conditions: Explicitly name fields in condition type info initializer
Diffstat (limited to 'src/server/game/Conditions/ConditionMgr.h')
-rw-r--r-- | src/server/game/Conditions/ConditionMgr.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/game/Conditions/ConditionMgr.h b/src/server/game/Conditions/ConditionMgr.h index f28c9771aca..98ba91e204b 100644 --- a/src/server/game/Conditions/ConditionMgr.h +++ b/src/server/game/Conditions/ConditionMgr.h @@ -57,7 +57,7 @@ enum class PlayerConditionLfgStatus : uint8; Step 7: Define condition name and expected condition values in ConditionMgr::StaticConditionTypeData. */ enum ConditionTypes -{ // value1 value2 value3 +{ // value1 value2 value3 CONDITION_NONE = 0, // 0 0 0 always true CONDITION_AURA = 1, // spell_id effindex 0 true if target has aura of spell_id with effect effindex CONDITION_ITEM = 2, // item_id count bank true if has #count of item_ids (if 'bank' is set it searches in bank slots too) |