From f5050ab5dc35ba90997d9e49e540764c8640ee8a Mon Sep 17 00:00:00 2001 From: Alex King <89047260+Kinglykrab@users.noreply.github.com> Date: Fri, 22 Mar 2024 16:17:38 -0400 Subject: [PATCH] [Bug Fix] Fix range_percent (#4197) # Notes - This was uninitialized and was getting bogus values. --- zone/common.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/zone/common.h b/zone/common.h index 90bd2629d..9bbc75751 100644 --- a/zone/common.h +++ b/zone/common.h @@ -826,7 +826,8 @@ struct ExtraAttackOptions { armor_pen_percent(0.0f), armor_pen_flat(0), crit_percent(1.0f), crit_flat(0.0f), hate_percent(1.0f), hate_flat(0), hit_chance(0), - melee_damage_bonus_flat(0), skilldmgtaken_bonus_flat(0) + melee_damage_bonus_flat(0), skilldmgtaken_bonus_flat(0), + range_percent(0) { } float damage_percent;