From 83e4845ccfb0eb8caa813b445c4acffbb199b614 Mon Sep 17 00:00:00 2001 From: hop311 Date: Sun, 20 Oct 2024 21:51:03 +0100 Subject: Change default `excluded_targets` argument for `ModifierSum::add_modifier[_nullcheck]` from `ALL_TARGETS` to `NO_TARGETS` --- src/openvic-simulation/modifier/ModifierSum.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/openvic-simulation/modifier/ModifierSum.hpp b/src/openvic-simulation/modifier/ModifierSum.hpp index 858ca71..843fcfc 100644 --- a/src/openvic-simulation/modifier/ModifierSum.hpp +++ b/src/openvic-simulation/modifier/ModifierSum.hpp @@ -61,11 +61,11 @@ namespace OpenVic { void add_modifier( Modifier const& modifier, modifier_source_t const& source, fixed_point_t multiplier = fixed_point_t::_1(), - ModifierEffect::target_t excluded_targets = ModifierEffect::target_t::ALL_TARGETS + ModifierEffect::target_t excluded_targets = ModifierEffect::target_t::NO_TARGETS ); void add_modifier_nullcheck( Modifier const* modifier, modifier_source_t const& source, fixed_point_t multiplier = fixed_point_t::_1(), - ModifierEffect::target_t excluded_targets = ModifierEffect::target_t::ALL_TARGETS + ModifierEffect::target_t excluded_targets = ModifierEffect::target_t::NO_TARGETS ); void add_modifier_sum(ModifierSum const& modifier_sum); void add_modifier_sum_exclude_targets(ModifierSum const& modifier_sum, ModifierEffect::target_t excluded_targets); -- cgit v1.2.3-56-ga3b1