From 701bca281383127957a9e43a2bd259c465c32979 Mon Sep 17 00:00:00 2001 From: Gtker Date: Fri, 30 Dec 2022 22:27:26 +0100 Subject: [PATCH] woww: Replace hf_woww_damage_type with spell_school --- epan/dissectors/packet-woww.c | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/epan/dissectors/packet-woww.c b/epan/dissectors/packet-woww.c index 07d0810598..68d04d4583 100644 --- a/epan/dissectors/packet-woww.c +++ b/epan/dissectors/packet-woww.c @@ -275,7 +275,6 @@ static int hf_woww_damage_float = -1; static int hf_woww_damage_maximum = -1; static int hf_woww_damage_minimum = -1; static int hf_woww_damage_state = -1; -static int hf_woww_damage_type = -1; static int hf_woww_damage_uint = -1; static int hf_woww_data = -1; static int hf_woww_data_type = -1; @@ -14153,7 +14152,7 @@ add_body_fields(guint32 opcode, ptvcursor_add_text_with_subtree(ptv, SUBTREE_UNDEFINED_LENGTH, ett_message, "ItemDamageType"); ptvcursor_add(ptv, hf_woww_damage_minimum, 4, ENC_LITTLE_ENDIAN); ptvcursor_add(ptv, hf_woww_damage_maximum, 4, ENC_LITTLE_ENDIAN); - ptvcursor_add(ptv, hf_woww_damage_type, 4, ENC_LITTLE_ENDIAN); + ptvcursor_add(ptv, hf_woww_spell_school, 4, ENC_LITTLE_ENDIAN); ptvcursor_pop_subtree(ptv); } ptvcursor_add(ptv, hf_woww_armor, 4, ENC_LITTLE_ENDIAN); @@ -17241,12 +17240,6 @@ proto_register_woww(void) NULL, HFILL } }, - { &hf_woww_damage_type, - { "Damage Type", "woww.damage.type", - FT_UINT32, BASE_HEX_DEC, NULL, 0, - NULL, HFILL - } - }, { &hf_woww_damage_uint, { "Damage Uint", "woww.damage.uint", FT_UINT32, BASE_HEX_DEC, NULL, 0,