diff options
author | Hop311 <Hop3114@gmail.com> | 2024-01-22 21:18:53 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-22 21:18:53 +0100 |
commit | 10f1f250883529e809d18a369f3668cfacd3bfd1 (patch) | |
tree | 7cd8a379963af18c24f8dabfe7525b39f2333e0c /src/openvic-simulation/misc/Modifier.cpp | |
parent | 8205732a1b95f018f0898a2a4bc62e22f5bee0d3 (diff) | |
parent | caa2f31d536f568e485f15537db5e2f79f7616d5 (diff) |
Merge pull request #135 from OpenVicProject/misc-changes
Miscellaneous bug fixes and format cleanup
Diffstat (limited to 'src/openvic-simulation/misc/Modifier.cpp')
-rw-r--r-- | src/openvic-simulation/misc/Modifier.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/openvic-simulation/misc/Modifier.cpp b/src/openvic-simulation/misc/Modifier.cpp index e73d0e3..1fdc26e 100644 --- a/src/openvic-simulation/misc/Modifier.cpp +++ b/src/openvic-simulation/misc/Modifier.cpp @@ -105,7 +105,7 @@ bool ModifierManager::setup_modifier_effects() { bool ret = true; using enum ModifierEffect::format_t; - /* Tech/inventions only*/ + /* Tech/inventions only */ ret &= add_modifier_effect("cb_creation_speed", true); ret &= add_modifier_effect("combat_width", false); ret &= add_modifier_effect("plurality", true, PERCENTAGE_DECIMAL); @@ -214,7 +214,7 @@ bool ModifierManager::setup_modifier_effects() { ret &= add_modifier_effect("unit_recruitment_time", false); ret &= add_modifier_effect("war_exhaustion", false); - /* State only*/ + /* State only */ ret &= add_modifier_effect("flashpoint_tension", true); ret &= add_modifier_effect("railroads", true); // capitalist likelihood for railroads vs factories @@ -371,9 +371,9 @@ key_value_callback_t ModifierManager::_modifier_effect_callback( ) -> bool { if (effect_validator(*effect)) { static const case_insensitive_string_set_t no_effect_modifiers { - "boost_strongest_party", "poor_savings_modifier", "local_artisan_input", "local_artisan_throughput", - "local_artisan_output", "artisan_input", "artisan_throughput", "artisan_output", - "import_cost", "unciv_economic_modifier", "unciv_military_modifier" + "boost_strongest_party", "poor_savings_modifier", "local_artisan_input", "local_artisan_throughput", + "local_artisan_output", "artisan_input", "artisan_throughput", "artisan_output", + "import_cost", "unciv_economic_modifier", "unciv_military_modifier" }; if (no_effect_modifiers.contains(effect->get_identifier())) { Logger::warning("This modifier does nothing: ", effect->get_identifier()); |