From c8c7f105a8af1a309a4336696e53ca8577027ced Mon Sep 17 00:00:00 2001 From: Gtker Date: Thu, 3 Nov 2022 18:15:42 +0100 Subject: [PATCH] woww: Rename hf_woww_enabled to hf_woww_autocast_enabled The hf is specifically for autocast for pets. --- epan/dissectors/packet-woww.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/epan/dissectors/packet-woww.c b/epan/dissectors/packet-woww.c index 538f815242..2351d0acb5 100644 --- a/epan/dissectors/packet-woww.c +++ b/epan/dissectors/packet-woww.c @@ -176,6 +176,7 @@ static int hf_woww_aura_slot = -1; static int hf_woww_aura_type = -1; static int hf_woww_auto_decline_time_in_msecs = -1; static int hf_woww_auto_finish = -1; +static int hf_woww_autocast_enabled = -1; static int hf_woww_average_wait_time_in_ms = -1; static int hf_woww_background_color = -1; static int hf_woww_backwards_running_speed = -1; @@ -321,7 +322,6 @@ static int hf_woww_emote_enum = -1; static int hf_woww_emote_int = -1; static int hf_woww_enable_next = -1; static int hf_woww_enable_pvp = -1; -static int hf_woww_enabled = -1; static int hf_woww_enchantment = -1; static int hf_woww_end_text = -1; static int hf_woww_ended_without_interruption = -1; @@ -10583,7 +10583,7 @@ add_body_fields(guint32 opcode, case CMSG_PET_SPELL_AUTOCAST: ptvcursor_add(ptv, hf_woww_guid, 8, ENC_LITTLE_ENDIAN); ptvcursor_add(ptv, hf_woww_id, 4, ENC_LITTLE_ENDIAN); - ptvcursor_add(ptv, hf_woww_enabled, 1, ENC_NA); + ptvcursor_add(ptv, hf_woww_autocast_enabled, 1, ENC_NA); break; case CMSG_PET_STOP_ATTACK: ptvcursor_add(ptv, hf_woww_pet_guid, 8, ENC_LITTLE_ENDIAN); @@ -16047,6 +16047,12 @@ proto_register_woww(void) NULL, HFILL } }, + { &hf_woww_autocast_enabled, + { "Autocast Enabled", "woww.autocast.enabled", + FT_UINT8, BASE_HEX_DEC, NULL, 0, + NULL, HFILL + } + }, { &hf_woww_average_wait_time_in_ms, { "Average Wait Time In Ms", "woww.average.wait.time.in.ms", FT_UINT32, BASE_HEX_DEC, NULL, 0, @@ -16917,12 +16923,6 @@ proto_register_woww(void) NULL, HFILL } }, - { &hf_woww_enabled, - { "Enabled", "woww.enabled", - FT_UINT8, BASE_HEX_DEC, NULL, 0, - NULL, HFILL - } - }, { &hf_woww_enchantment, { "Enchantment", "woww.enchantment", FT_UINT32, BASE_HEX_DEC, NULL, 0,