[Bug Fix] Fix range_percent (#4197)

# Notes
- This was uninitialized and was getting bogus values.
This commit is contained in:
Alex King authored and GitHub committed 2024-03-22 16:17:38 -04:00
1 parent e32cbf19ee
commit f5050ab5dc
1 file changed
+2 -1
+2 -1
View File
@@ -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;