From 4b09bb37ddbe1f18f7bc972f27c41c44d3eae1f6 Mon Sep 17 00:00:00 2001 From: Shauren Date: Mon, 2 Dec 2024 15:18:44 +0100 Subject: Core/Conditions: Explicitly name fields in condition type info initializer --- src/server/game/Conditions/ConditionMgr.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/server/game/Conditions/ConditionMgr.h') 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) -- cgit v1.2.3