aboutsummaryrefslogtreecommitdiff
path: root/src/openvic-simulation/misc
diff options
context:
space:
mode:
Diffstat (limited to 'src/openvic-simulation/misc')
-rw-r--r--src/openvic-simulation/misc/Modifier.cpp1
-rw-r--r--src/openvic-simulation/misc/Modifier.hpp1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/openvic-simulation/misc/Modifier.cpp b/src/openvic-simulation/misc/Modifier.cpp
index 89a411c..f46718a 100644
--- a/src/openvic-simulation/misc/Modifier.cpp
+++ b/src/openvic-simulation/misc/Modifier.cpp
@@ -185,6 +185,7 @@ bool ModifierManager::setup_modifier_effects() {
// TODO: make technology group modifiers dynamic
ret &= add_modifier_effect("army_tech_research_bonus", true);
+ ret &= add_modifier_effect("navy_tech_research_bonus", true);
ret &= add_modifier_effect("commerce_tech_research_bonus", true);
ret &= add_modifier_effect("culture_tech_research_bonus", true);
ret &= add_modifier_effect("industry_tech_research_bonus", true);
diff --git a/src/openvic-simulation/misc/Modifier.hpp b/src/openvic-simulation/misc/Modifier.hpp
index c1c532a..74f0336 100644
--- a/src/openvic-simulation/misc/Modifier.hpp
+++ b/src/openvic-simulation/misc/Modifier.hpp
@@ -72,6 +72,7 @@ namespace OpenVic {
/* A modifier can have no icon (zero). */
const icon_t PROPERTY(icon);
+ protected:
Modifier(std::string_view new_identifier, ModifierValue&& new_values, icon_t new_icon);
public: